Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pwntester opened this issue Nov 11, 2014 · 6 comments
Open

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

pwntester opened this issue Nov 11, 2014 · 6 comments
Milestone

Comments

@pwntester
Copy link

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
Copy link
Collaborator

radare commented Nov 11, 2014

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 #48.

@XVilka XVilka added this to the 0.9.9 milestone Apr 18, 2015
@XVilka
Copy link
Contributor

XVilka commented Apr 18, 2015

@pwntester Are there any updates on this?

@radare
Copy link
Collaborator

radare commented Apr 18, 2015

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
Copy link
Collaborator

radare commented Oct 23, 2015

ping

@XVilka XVilka modified the milestones: 0.9.9, 2.8.0 Jul 4, 2018
@XVilka
Copy link
Contributor

XVilka commented Jul 4, 2018

@radare wasn't it fixed already?

@radare
Copy link
Collaborator

radare commented Jul 4, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants