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
.
-
Clone the git repository:
git clone https://github.com/dtrebbien/GNOME.supp.git
Alternatively, check out the latest code using Subversion:
svn checkout https://github.com/dtrebbien/GNOME.supp/trunk/ GNOME.supp
-
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.
See the Valgrind page on GNOME Live! for tips on using Valgrind to detect memory leaks in GNOME software.