/dev/posts/

Debugging use-after-free with RR reverse execution

Published:

RR is a very useful tool for debugging. It can record the execution of a program and then replay the exact same execution at will inside a debugger. One very useful extra power available since 4.0 is the support for efficient reverse execution which can be used to find the root cause of a bug in your program by rewinding time. In this example, we reverse-execute a program from a case of use-after-free in order to find where the block of memory was freed.

Read more…

Sample watchpoints or breakpoints with GDB (and FlameGraph)

Published:

GDB can be used to get the stack each time a breakpoint is reached.

Read more…

Page 1 of 1 | | | JSON Feed | Atom Feed