Understanding Valgrind memory leak reports

I tried to write a tutorial focusing on the type of memory leaks as detected internally by Valgrind and the generated output leak reports.

The PDF is available in the following URL:

And the simple C tester to generate each type of memory leak (cases 1 to 9 in the Valgrind Manual) is available here:

Comments, fixes, whatever… highly appreciated. You could even send me a diff file to the original LaTeX source, available in:

The document is licensed under the GFDL 1.3, and the tester is published in the public domain.

Posted on February 4, 2010, in Development, Writting and tagged , , . Bookmark the permalink. 1 Comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 76 other followers

%d bloggers like this: