Archive for June 5, 2009

Friday, June 5, 2009

Introduction to Valgrind

Mike Ash:

The way it works is it essentially runs your program inside an emulator. By doing this, it has total control over everything your program does. Something that's undetectable when running on the processor, like reading from a memory location that was never initialized, suddenly becomes easy to see.