I'd like to know how to change stdin multiple times for the given binary for debugging purposes. I know I can launch the application with
r2 -r profile.r2 -d binary
Where, inside the profile.r2 file I have
But I'd like to know how, if at all possible, to switch stdin so that I can supply multiple different inputs during a single debugging session
Will I have to use
r2pipe and its interface or is there a simpler way of achieving this in radare2?
If not possible in radare2, how would I go about doing this with
Thanks for any help on this.