mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-29 08:01:04 +00:00
Fix CID 1211171
This commit is contained in:
parent
eb533343e8
commit
5de3a28205
@ -1361,7 +1361,7 @@ R_API RList* r_core_anal_cycles (RCore *core, int ccl)
|
|||||||
RAnalCycleHook *ch;
|
RAnalCycleHook *ch;
|
||||||
RList *hooks = r_list_new ();
|
RList *hooks = r_list_new ();
|
||||||
while (cf && !core->cons->breaked) {
|
while (cf && !core->cons->breaked) {
|
||||||
if ((ccl > 0) && (op = r_core_anal_op (core, addr)) && (op->cycles)) {
|
if ((op = r_core_anal_op (core, addr)) && (op->cycles) && (ccl > 0)) {
|
||||||
r_cons_clear_line (1);
|
r_cons_clear_line (1);
|
||||||
eprintf ("%i -- ", ccl);
|
eprintf ("%i -- ", ccl);
|
||||||
addr += op->size;
|
addr += op->size;
|
||||||
@ -1498,7 +1498,7 @@ R_API RList* r_core_anal_cycles (RCore *core, int ccl)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (op) r_anal_op_free (op);
|
r_anal_op_free (op);
|
||||||
}
|
}
|
||||||
if (core->cons->breaked) {
|
if (core->cons->breaked) {
|
||||||
while (cf) {
|
while (cf) {
|
||||||
|
Loading…
Reference in New Issue
Block a user