From charlesreid1

Valgrind is a memory analysis tool.

Main page:

Users manual:

Quick start:

There are many tools built into Valgrind. I have used it for detecting leaks when building a component in a large C++ framework for scientific computing.


Reboot usage of valgrind. It's 2018.

To get valgrind installed, I used Kali Tools to check it out.


Before you build valgrind, you need to install several libraries:

sudo apt-get install gdb gcc-multilib libc6-dev-i386 mpi-default-dev docbook docbook-xsl xsltproc

Installing debian package

The debian/ folder of the valgrind directory created by kali-tools will be used to create a Debian package (deb) file.

dpkg-buildpackage -uc -us -b

Hmm... it wants gcc >= 3.0, and I have version 6.