mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-06 13:37:07 +00:00
maxhits in /R is more accurate now
This commit is contained in:
parent
97b08535c4
commit
14d1302c0e
@ -1401,8 +1401,7 @@ static int r_core_search_rop(RCore *core, RAddrInterval search_itv, int opt, con
|
||||
print_rop (core, hitlist, mode, &json_first);
|
||||
}
|
||||
if (max_count > 0) {
|
||||
// max_count -= 1; //r_list_length (hitlist);
|
||||
max_count -= r_list_length (hitlist);
|
||||
max_count--;
|
||||
if (max_count < 1) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user