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-SP4:GA
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.4:Update/valgrind && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
_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.18.1.tar.bz2 | 0016149159 15.4 MB | |
valgrind.changes | 0000052868 51.6 KB | |
valgrind.spec | 0000012947 12.6 KB | |
valgrind.xen.patch | 0000110497 108 KB |
Latest Revision
- update to 3.18.1 (jsc#SLE-18639): * 3.18.1 fixes a number of bugs and adds support for glibc-2.34, and for new platforms x86/FreeBSD and amd64/FreeBSD. Debuginfo reading is faster, and Rust demangling has been improved. For PPC64, ISA 3.1 support has been completed, and some newer ARM64 and S390 instructions are also supported. - update to 3.17.0 (jsc#SLE-18713): * 3.17.0 fixes a number of bugs and adds some functional changes: support for GCC 11, Clang 11, DWARF5 debuginfo, the 'debuginfod' debuginfo server, and some new instructions for Arm64, S390 and POWER. There are also some tool updates. - drop s390x-z14-vector-support.patch 0001-lmw-lswi-and-related-PowerPC-insns-aren-t-allowed-on.patch: upstream - add 0001-lmw-lswi-and-related-PowerPC-insns-aren-t-allowed-on.patch (bsc#1180412)
Comments 0