Quantcast
Channel: /dev/posts/
Viewing all articles
Browse latest Browse all 104

Debugging use-after-free with RR reverse execution

$
0
0

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.


Viewing all articles
Browse latest Browse all 104

Trending Articles