Package valgrind

Tool for finding memory management bugs in programs

http://www.valgrind.org/

Valgrind is an instrumentation framework for building dynamic analysis
tools. There are Valgrind tools that can automatically detect many
memory management and threading bugs, and profile your programs in
detail. You can also use Valgrind to build new tools. The Valgrind
distribution currently includes six production-quality tools: a memory
error detector (memcheck, the default tool), two thread error
detectors (helgrind and drd), a cache and branch-prediction profiler
(cachegrind), a call-graph generating cache and branch-prediction
profiler (callgrind), and a heap profiler (massif).
General Commands
Command Description
callgrind_annotate post-processing tool for the Callgrind
callgrind_control observe and control programs being run by Callgrind
cg_annotate post-processing tool for Cachegrind
cg_diff compares two Cachegrind output files
cg_merge merges multiple Cachegrind output files into one
ms_print post-processing tool for Massif
valgrind a suite of tools for debugging and profiling programs
valgrind-listener listens on a socket for Valgrind commentary
vgdb intermediary between Valgrind and GDB or a shell