Valgrind Home Information Source Code Documentation Contact How to Help Gallery

Source Code Repository

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.13 and later) code is in a git repository at sourceware.org.

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


The Current (3.13 and later) Repository

If you want to browse the current repository you can use the web interface.

To clone code from the current repository (anonymous, read-only git access), do this:

  git clone git://sourceware.org/git/valgrind.git

To build the cloned code, follow the instructions in the README file that the clone should give you. Alternatively, the following should work:

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

To do the build, you'll need automake version 1.10 or later and a compatible version of autoconf (e.g. 2.68). These should come as standard on any non-ancient Linux distribution.

There is also an http mirror for the repository set up at repo.or.cz. You can use it if you are behind a firewall and cannot tunnel through with socat. To clone from this mirror, do this:

  git clone http://repo.or.cz/valgrind.git


Bad, Bad Bug!

Copyright © 2000-2017 Valgrind™ Developers

Hosting kindly donated by Mythic Beasts