A (long-winded) explanation of how we unwind stacks in DrMemory.
QINSB is not a Software Blog: Stack crawling in DrMemory without frame pointers or debug info
Stack crawling in DrMemory without frame pointers or debug info. I work on DrMemory, a dynamic instrumentation tool for finding memory bugs in native apps similar to memcheck, more widely known as jus...
4 plus ones
Shared publicly•View activity
- +1 Interesting. So you don't use CFI just because of its complexity? Because CFI can be unrolled once and then be relatively efficient to look up (i.e. no need to execute the state machine each time)Dec 12, 2011
- No, I think the main reason Derek wrote it this way was because it was platform independent between Windows and everyone else. It's still slow, just fast enough.Dec 13, 2011
- haha, long-windedDec 13, 2011