News for hackers. Stuff that matters.
Re:Omniscient Debugging by exDM69 on Friday February 24, 2023 @04:47AM (#34922819)
GDB supports reverse execution out of the box (not on all targets / remote), but it can be useful in some cases [0]. The tricky part is I/O and all the other side effects, which can not be undone as easily as memory / register use. It can still be useful for complex algorithms and other side-effect free code. For more practical debugging, record/replay based systems such as radare2 [1] can be more useful.

[0] https://sourceware.org/gdb/onlinedocs/gdb/Reverse-Execution.... [1] https://rada.re/n/

There are no comments on this comment yet.