radareorg / radare2-bindings

Bindings of the r2 api for Valabind and friends
GNU Lesser General Public License v3.0
130 stars 92 forks source link

radare grabs CTRL-C while loading binary and dont return it #48

Open pwntester opened 9 years ago

pwntester commented 9 years ago

A simple script like the one below will grab CTRL-C in the bin_load() call so that script dont get the interrupt.

from r2 import r_core rc = r_core.RCore() rc.file_open("/bin/ls", 0, 0) rc.bin_load("/bin/ls", 0) raw_input()

Try control-c when waiting for user input to verify

radare commented 9 years ago

it’s all python’s fault :P

can you trace RCons.break and RCons.break_end calls with ltrace/gdb/r2 tracepoints?

On 11 Nov 2014, at 16:57, Alvaro notifications@github.com wrote:

A simple script like the one below will grab CTRL-C in the bin_load() call so that script dont get the interrupt.

from r2 import r_core rc = r_core.RCore() rc.file_open("/bin/ls", 0, 0) rc.bin_load("/bin/ls", 0) raw_input()

Try control-c when waiting for user input to verify

— Reply to this email directly or view it on GitHub https://github.com/radare/radare2-bindings/issues/48.

XVilka commented 9 years ago

@pwntester Are there any updates on this?

radare commented 9 years ago

Im designing some controlc changes with skuater to make it work better in the debugger. Needed for windows, windbg and gdb backends for example. There are some issues with the ^z handling too in ubuntutouch and im thinking in a way to fix this but i still have to think more on this.

About the loading times in rbin, this will be greatly enhaced when moving to sdb. And with those ^c changes this can be solved more elegantly.

But lets keep this for 1.0.

On 18 Apr 2015, at 23:52, Anton Kochkov notifications@github.com wrote:

@pwntester Are there any updates on this?

— Reply to this email directly or view it on GitHub.

radare commented 8 years ago

ping

XVilka commented 6 years ago

@radare wasn't it fixed already?

radare commented 6 years ago

I think so

On 4 Jul 2018, at 06:54, Anton Kochkov notifications@github.com wrote:

@radare wasn't it fixed already?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.