Closed GoogleCodeExporter closed 9 years ago
This isn't really a bug, but more of a "this feature is not implemented yet."
That feature is entirely not present and thus the menu item will always be
greyed out.
I intend to have it implemented in one of the upcoming versions. It is
dependent on a more generic "run until <some_condition>" which is easier said
that done ;).
Evan Teran
Original comment by evan.teran
on 3 Oct 2012 at 3:57
Thank you for your prompt response. If I might make a suggestion: when you
encounter a CALL instruction, save a copy of the return address that CALL puts
on the stack. Then when the user gives the "Run until return" command, continue
execution until EIP==return address (provided the user didn't put any BPs
between current EIP and return address ofcourse).
I don't know all the things you want to accomplish with your "generic run until
<some_condition>" ofcourse, but the above should work for all 'normal' function
calls.
Original comment by evan.teran
on 3 Oct 2012 at 3:58
The most recent version of edb has basic support for this feature.
Unfortunately there is one situation which breaks it, but it is not critical.
This feature is effectively a "step repeatedly until I reach my destination, or
a breakpoint". Unfortunately when stepping over a system call, linux delivers a
signal which looks just like a breakpoint :-/. So it currently stops, I am
working on a resolution to this.
Original comment by evan.teran
on 3 Oct 2012 at 3:58
This is resolved in the SVN version. But there is a catch, it will stop after a
system call as well as the next ret on Linux. This is a matter of the way the
ptrace API works and will not trivially be dealt with.
Original comment by evan.teran
on 26 Jul 2013 at 1:56
Original issue reported on code.google.com by
evan.teran
on 3 Oct 2012 at 3:21