rizinorg / rizin

UNIX-like reverse engineering framework and command-line toolset.
https://rizin.re
GNU Lesser General Public License v3.0
2.71k stars 363 forks source link

Debug - Use a trailing `b` to perform the action backwards #762

Open caribpa opened 3 years ago

caribpa commented 3 years ago

Is your feature request related to a problem? Please describe. There's currently one command for stepping back: dsb (same for continuing)

AFAIK, there's no way for "step back over", "step back until...", etc, unlike when stepping forward (dso and dsu respectively).

Describe the solution you'd like Make the b a modifier that could be added at the end of the debug commands (like j signals JSON output in the printing commands) to perform their action backwards, making the following possible:

dsob  # Steps over back
dcrb  # Continues back until ret
...

Describe alternatives you've considered 💔

Additional context 🤷

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. Considering a lot has probably changed since its creation, we kindly ask you to check again if the issue you reported is still relevant in the current version of rizin. If it is, update this issue with a comment, otherwise it will be automatically closed if no further activity occurs. Thank you for your contributions.