View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > Valgrind

From LQWiki

Jump to: navigation, search

valgrind is a debugging program that can be used to trace all kinds of memory allocation errors, like memory leaks.

Example Usage

The following will run the program "a.out" and check it for memory errors:

$valgrind --tool=memcheck --leak-check=full -v a.out

See also

External links


Share

Personal tools