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.
-
1
derived packages
- Links to devel:tools / valgrind
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:videoregataos/valgrind && cd $_
- Create Badge
Source Files (show merged sources derived from linked package)
Filename | Size | Changed |
---|---|---|
_link | 0000000119 119 Bytes | |
_multibuild | 0000000063 63 Bytes | |
armv6-support.diff | 0000000213 213 Bytes | |
dhat-use-datadir.patch | 0000000488 488 Bytes | |
parallel-lto.patch | 0000001290 1.26 KB | |
valgrind-3.19.0.tar.bz2 | 0016403296 15.6 MB | |
valgrind.changes | 0000054206 52.9 KB | |
valgrind.spec | 0000012846 12.5 KB | |
valgrind.xen.patch | 0000110497 108 KB |
Comments 0