geohot / qira

QEMU Interactive Runtime Analyser
MIT License
3.95k stars 469 forks source link

replace print with logging PR proposal #228

Closed korniltsev closed 4 years ago

korniltsev commented 5 years ago

Hi. Currently when tracing with qira, stdout from qira and stdout from the tracee is mixed. It would be cool to separate them, so we can interact with tracee in an interactive way, for example like this:

from pwn import *
io = process(["qira", "-q", "cat"])
io.sendline("kek")
print io.readline()
>> kek

If this makes sense and can be considered to be merged, I will be glad to work on such PR ( heres a draft https://github.com/korniltsev/qira/pull/1)

korniltsev commented 4 years ago

just learnt about "-s"