mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-19 13:53:07 +00:00
Honor anal.timeout and better ^C handling in aaaa
##anal
This commit is contained in:
parent
81e8d0db2f
commit
13984174ad
@ -436,6 +436,7 @@ R_API bool r_cons_is_breaked(void) {
|
||||
if (I->timeout) {
|
||||
if (r_time_now_mono () > I->timeout) {
|
||||
C->breaked = true;
|
||||
C->was_breaked = true;
|
||||
eprintf ("\nTimeout!\n");
|
||||
I->timeout = 0;
|
||||
}
|
||||
|
@ -11214,6 +11214,9 @@ static int cmd_anal_all(RCore *core, const char *input) {
|
||||
r_core_anal_all (core);
|
||||
r_print_rowlog_done (core->print, oldstr);
|
||||
r_core_task_yield (&core->tasks);
|
||||
if (r_cons_is_breaked ()) {
|
||||
goto jacuzzi;
|
||||
}
|
||||
|
||||
// Run afvn in all fcns
|
||||
if (r_config_get_b (core->config, "anal.vars")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user