From charlesreid1

(Created page with "Valgrind is a memory analysis tool: http://valgrind.org/")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Valgrind is a memory analysis tool: http://valgrind.org/
Valgrind is a memory analysis tool.
 
Main page: http://valgrind.org/
 
Users manual: http://valgrind.org/docs/manual/manual.html
 
Quick start: http://valgrind.org/docs/manual/quick-start.html
 
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.
 
 
=Installing=
 
Reboot usage of valgrind. It's 2018.
 
To get valgrind installed, I used [[Kali Tools]] to check it out.
 
==Dependencies==
 
Before you build valgrind, you need to install several libraries:
 
<pre>
sudo apt-get install gdb gcc-multilib libc6-dev-i386 mpi-default-dev docbook docbook-xsl xsltproc
</pre>
 
==Installing debian package==
 
The <code>debian/</code> folder of the valgrind directory created by kali-tools will be used to create a Debian package (deb) file.
 
<pre>
dpkg-buildpackage -uc -us -b
</pre>
 
Hmm... it wants gcc >= 3.0, and I have version 6.

Latest revision as of 03:33, 27 January 2018

Valgrind is a memory analysis tool.

Main page: http://valgrind.org/

Users manual: http://valgrind.org/docs/manual/manual.html

Quick start: http://valgrind.org/docs/manual/quick-start.html

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.


Installing

Reboot usage of valgrind. It's 2018.

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

Dependencies

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.