Memory Management Debugger

Edit Package valgrind

Valgrind checks all memory operations in an application, like read,
write, malloc, new, free, and delete. Valgrind can find uses of
uninitialized memory, access to already freed memory, overflows,
illegal stack operations, memory leaks, and any illegal
new/malloc/free/delete commands. Another program in the package is
"cachegrind," a profiler based on the valgrind engine.

To use valgrind you should compile your application with "-g -O0"
compiler options. Afterwards you can use it with:

valgrind --tool=memcheck --sloppy-malloc=yes --leak-check=yes
--db-attach=yes my_application, for example.

More valgrind options can be listed via "valgrind --help". There is
also complete documentation in the /usr/share/doc/packages/valgrind/
directory. A debugged application runs slower and needs much more
memory, but is usually still usable. Valgrind is still in development,
but it has been successfully used to optimize several KDE applications.

Refresh
Refresh
Source Files
Filename Size Changed
glibc-2.15.diff 0000001244 1.21 KB
jit-register-unregister.diff 0000006688 6.53 KB
valgrind-3.7.0-automake-1.11.2.patch 0000001056 1.03 KB
valgrind-3.7.0.tar.bz2 0006624216 6.32 MB
valgrind.changes 0000021448 20.9 KB
valgrind.spec 0000008236 8.04 KB
Latest Revision
Adrian Schröter's avatar Adrian Schröter (adrianSuSE) committed (revision 1)
branched from openSUSE:Factory
Comments 0
openSUSE Build Service is sponsored by