Valgrind Home Information Source Code Documentation Contact How to Help Gallery

Source Code Repositories

If you are looking for a stable release of the source code, you should download it from the Current Releases page. The rest of this page describes how to get hold of code at the leading edge of the development effort. Such code may not work properly.

The actively developed, current (v3.0 and later) code is in a Subversion (SVN) repository at valgrind.org.
The old (v2.4 and earlier) code, also in an SVN repository, is hosted by kde.org, at least for the moment.

If you are doing any development work, please do it using the code from the current repository at valgrind.org!


The Current (3.0 and later) Repository

To check out code from the current repository (anonymous, read-only SVN access), do this:

  svn co svn://svn.valgrind.org/valgrind/trunk valgrind

As of January 2007, the code from this repository works well on x86/Linux, AMD64/Linux, PPC32/Linux and PPC64/Linux.

As of mid 2009, it works also on x86/MacOSX 10.5.8, although unfortunately not well on MacOSX 10.6.

As of early 2010, there is initial support for ARM/Linux. This is usable on Ubuntu 9.04 and Ubuntu 9.10 running on ARMv7 capable hardware (Cortex-A8). The repository currently contains support for the ARMv5 instruction set, some v6 instructions, and VFPv1. Work is in progress to expand this to cover the entire ARMv7 instruction set, including NEON and Thumb2 support, and to support Ubuntu 10.04.

To build the checked out code, follow the instructions in the README file that the checkout should give you. Alternatively, the following should work:

  cd valgrind
  ./autogen.sh
  ./configure --prefix=...
  make
  make install

To do the checkout, you'll need a Subversion client, version 1.1.0 or later. Versions prior to 1.1.0 do not properly handle the symbolic links in our tree.

To do the build, you'll need autoconf, and automake version 1.7 or later. These should come as standard on any non-ancient Linux distribution.


The Old (2.4.1 and earlier) Repository

The old valgrind repository is no longer available. Only code drops of old valgrind releases are. To see what is out there, issue this command:

  svn ls svn://anonsvn.kde.org/tags/valgrind
Then you can check out the code for an old release like so:
  svn co svn://anonsvn.kde.org/tags/valgrind/X.Y.Z valgrind-X.Y.Z
by replacing X.Y.Z with an actual release number.

To build the checked out code, follow the instructions in the README file that the checkout should give you.



Bad, Bad Bug!

Copyright © 2000-2011 Valgrind™ Developers

Best Viewed With A Browser