3 ms·
There are a lot of these types of tools already in the reverse engineering community (in order of lowest chance of breaking when you throw really weird stuff at
by enragedcacti 5y ago
There are a lot of these types of tools already in the reverse engineering community (in order of lowest chance of breaking when you throw really weird stuff at it, in my experience):
GEF: https://gef.readthedocs.io/en/master/ https://gef.readthedocs.io/en/master/
PWNDBG: https://github.com/pwndbg/pwndbg https://github.com/pwndbg/pwndbg
PEDA: https://github.com/longld/peda https://github.com/longld/peda
They also come with a slew of different features to aid in RE/exploit dev, but many of them are also useful for debugging really weird issues.
Also if you don't need all the info these provide or just want to augment them, the tool you are looking for is "hook-stop" which allows you to execute a string of commands every time GDB pauses program execution.
- cyberpunk 5y agoI really like PWNDBG, as it goes. But I am trying to spend more time with the Ghidra debugger, which is ... kind of pants, but it's getting better and it's pretty nice to have everything in one place. :}
- synergy20 5y agoI tried to promote gdb-dashboard a few days ago at HN but it did not fly. gdb-dashbard is different from those reverse-engineering gdb-hacks in that, it is more for normal debugging with a better looking TUI than the default gdb tui interface. gdb's support for python scripting made all these possible.
- mark_undoio 5y agoI like TUI but used to find it a bit flaky and inconsistent. I understand it's had a fairly recent code-level revamp. GDB has also added Python extension support for it: https://sourceware.org/gdb/current/onlinedocs/gdb/TUI-Windows-In-Python.html https://sourceware.org/gdb/current/onlinedocs/gdb/TUI-Window... It will be interesting to see if things like GDB Dashboard benefit from being implemented in this way in future.
- lowbloodsugar 5y agoI miss SoftIce.