•        0

The Valgrind distribution currently includes six production-quality tools: a memory error detector, two thread error detectors, a cache and branch-prediction profiler, a call-graph generating cache profiler, and a heap profiler. It also includes two experimental tools: a heap/stack/global array overrun detector, and a SimPoint basic block vector generator. It runs on the following platforms: X86/Linux, AMD64/Linux, PPC32/Linux, PPC64/Linux, and X86/Darwin (Mac OS X).

Valgrind uses dynamic binary instrumentation, so you don't need to modify, recompile or relink your applications. Just prefix your command line with valgrind and everything works. Valgrind works with programs written in any language, be they compiled, just-in-time compiled, or interpreted. The Valgrind tools are largely aimed at programs written in C and C++, because programs written in these languages tend to have the most bugs! But it can, for example, be used to debug and profile systems written in a mixture of languages. Valgrind has been used on programs written partly or entirely in C, C++, Java, Perl, Python, assembly code, Fortran, Ada, and many others.



Related Projects


Alleyoop is a graphical front-end to the increasingly popular Valgrind memory checker for the x86 and x86_64 flavors of Linux using the Gtk+ widget set and other GNOME libraries for the X-Windows environment.


Valkyrie is an open-source graphical user interface for the Valgrind 3.3.X line. Valkyrie uses the Qt widget library, and is based on Valgrind`s XML output capabilities. Valkyrie is designed for simplicity and ease of use, whilst allowing access to the full range of Valgrind command-line options.

Memprof - A Ruby gem for memory profiling

Memprof is a Ruby level memory profiler that can help you find reference leaks in your application. Memprof can also do very lightweight function call tracing to help you figure out which system calls, and library calls your code causes. Ruby memory profiler similar to bleak_house, but without patches to the Ruby VM.

Memorylogic - Memory usage logger

Adds in proccess id and memory usage in your rails logs, great for tracking down memory leaks.


MemcheckView is a GUI front end for Valgrind's Memcheck tool, which can detect a comprehensive set of memory errors, including reads and writes of unallocated or freed memory, reads of unitialized memory, and memory leaks.


The data files generated by Callgrind can be loaded into KCachegrind for browsing the performance results. This is a GUI/Visualization tool.

vg4nbsd - Git mirror of SVN repo of a port of the Valgrind Debugger to NetBSD

Git mirror of SVN repo of a port of the Valgrind Debugger to NetBSD

objgrind - writable or refereable checker with valgrind

writable or refereable checker with valgrind

valgrind.vim - Navigate in the output of the memory checker valgrind

Navigate in the output of the memory checker valgrind

antinet - .NET anti-managed debugger and anti-profiler code

It uses undocumented features of Microsoft's CLR to prevent managed debuggers/profilers from working. It's possible that a future version of Microsoft's CLR will be updated so this code will either not be able to prevent the managed debugger/profiler from working or even cause unexpected behaviors.

php-pecl-apd - %{modname} - full-featured engine-level profiler/debugger

%{modname} - full-featured engine-level profiler/debugger

Diamond - D memory debugger and profiler

D memory debugger and profiler


Valgui, an extensive interface for Valgrind

valgrind - An open-source memory debugger

An open-source memory debugger


Jdptool is a debug and profiler tool which based on JPDA; It provide both swing based and browser based GUI. It has sophisticated debugger without user interfere. It also provide profiler to memory usage and threads with numerous new feature

PHP debugger DBG

DBG is a full-featured PHP Debugger and Profiler. Makes it easier to find problems or bugs in PHP scripts. DBG supports back-tracking, watching variables, viewing arguments passed to all nested function calls at any point of execution. Opensource.


The fastest malloc we've seen; works particularly well with threads and STL. Also: thread-friendly heap-checker, heap-profiler, and cpu-profiler.


A gui utility to plot the output of the valgrind heap profiler massif as an animated pie chart.