This is a repository of Valgrind suppression files intended to be used to detect memory leaks in GNOME software using Valgrind.
You will need Valgrind, GNU Make, and sed
.
-
Open a terminal and
cd
intoGNOME.supp
. -
make
GNU Make will generate suppression (SUPP) files in the project root.
To use them with Valgrind, pass a --suppressions=<filename>
option for each suppression file that you would like to use. For example, to use the suppressions in glib.supp
, you would pass --suppressions=/path/to/GNOME.supp/glib.supp
to Valgrind.
A all.supp
file is created including all suppressions.
You can also add suppression lines to a ~/.valgrindrc file to automatically use them every time.
See the Valgrind page on GNOME Live! for tips on using Valgrind to detect memory leaks in GNOME software.