Memory Management Debugger
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.
- Sources inherited from project SUSE:SLE-15-SP1:Update
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Step:15-SP4/valgrind.11355 && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
armv6-support.diff | 0000000302 302 Bytes | |
jit-register-unregister.diff | 0000007321 7.15 KB | |
valgrind-3.15.0.tar.bz2 | 0020241437 19.3 MB | |
valgrind.changes | 0000045115 44.1 KB | |
valgrind.spec | 0000011554 11.3 KB | |
valgrind.xen.patch | 0000104761 102 KB |
Latest Revision
Release from SUSE:Maintenance:11355 / valgrind.SUSE_SLE-15-SP1_Update
Comments 0