LogoopenSUSE Build Service > Projects
Sign Up | Log In

Memory Management Debugger

This package is based on the package 'valgrind' from project 'openSUSE:Factory'.

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.

Source Files

Filename Size Changed Actions
armv6-support.diff 302 Bytes over 2 years ago Download File
epoll-wait-fix.patch 1.11 KB about 1 year ago Download File
jit-register-unregister.diff 7.15 KB over 2 years ago Download File
valgrind-3.13.0.tar.bz2 14 MB over 1 year ago
valgrind.changes 35.5 KB about 1 year ago Download File
valgrind.spec 9.48 KB about 1 year ago Download File

Comments for home:adamm:valgrind (0)

Login required, please login or signup in order to comment