How can i do several input via rarun2, if my program requares two input?
I try this:
To type two inputs of
aaa
as expected in your first example, write
#!/usr/bin/rarun2
stdin="aaa\naaa\n"
in a file script.rr2
. Then do radare2 -r script.rr2 -d [your program to debug]
.
stdin
set as a file or pty?