mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 23:16:05 +00:00
Implement step over rep instructions
This commit is contained in:
parent
8b3cdac3df
commit
13ba5d0742
@ -443,6 +443,12 @@ R_API int r_debug_step_over(RDebug *dbg, int steps) {
|
||||
eprintf ("Could not step over call @ 0x%"PFMT64x"\n", pc);
|
||||
return R_FALSE;
|
||||
}
|
||||
} else if ((op.prefix & (R_ANAL_OP_PREFIX_REP | R_ANAL_OP_PREFIX_REPNE | R_ANAL_OP_PREFIX_LOCK))) {
|
||||
//eprintf ("REP: skip to next instruction...\n");
|
||||
if (!r_debug_continue_until (dbg, pc+op.size)) {
|
||||
eprintf ("step over failed over rep\n");
|
||||
return R_FALSE;
|
||||
}
|
||||
} else r_debug_step (dbg, 1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user