Fix #258 - Hide SIGTRAP signals
This commit is contained in:
parent
708dc29b3b
commit
0e470adc27
2 changed files with 4 additions and 2 deletions
|
|
@ -172,3 +172,4 @@ Connection with license server failed.
|
|||
In soviet afghanistan radare debugs russia!
|
||||
In soviet afghanistan you debug radare!
|
||||
You should know that ptracing binaries younger than 18yo is illegal
|
||||
wow, my cat know radare2 hotkeys better than me!
|
||||
|
|
|
|||
|
|
@ -247,8 +247,9 @@ R_API int r_debug_wait(RDebug *dbg) {
|
|||
/* handle signal on continuations here */
|
||||
int what = r_debug_signal_what (dbg, dbg->signum);
|
||||
const char *name = r_debug_signal_resolve_i (dbg, dbg->signum);
|
||||
r_cons_printf ("[+] signal %d aka %s received\n",
|
||||
dbg->signum, name);
|
||||
if (strcmp ("SIGTRAP", name))
|
||||
r_cons_printf ("[+] signal %d aka %s received\n",
|
||||
dbg->signum, name);
|
||||
if (what & R_DBG_SIGNAL_SKIP) {
|
||||
dbg->signum = 0;
|
||||
// TODO: use ptrace-setsiginfo to ignore signal
|
||||
|
|
|
|||
Loading…
Reference in a new issue