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-SP7:GA
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout SUSE:SLE-15-SP7:Update/valgrind && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
VEX-x86-pinsrd.patch | 0000002575 2.51 KB | |
_multibuild | 0000000063 63 Bytes | |
dhat-use-datadir.patch | 0000000488 488 Bytes | |
parallel-lto.patch | 0000001365 1.33 KB | |
valgrind-3.23.0.tar.bz2 | 0016550038 15.8 MB | |
valgrind-3.23.0.tar.bz2.asc | 0000000488 488 Bytes | |
valgrind.changes | 0000063113 61.6 KB | |
valgrind.keyring | 0000007173 7 KB | |
valgrind.spec | 0000013462 13.1 KB | |
valgrind.xen.patch | 0000110497 108 KB |
Latest Revision
- update to 3.23.0 (jsc#PED-10260): * Added ARM64 support for FreeBSD. * ARM64 now supports dotprod instructions (sdot/udot). * AMD64 better supports code build with -march=x86-64-v3. fused-multiple-add instructions (fma) are now emulated more accurately. And memcheck now handles __builtin_strcmp using 128/256 bit vectors with sse4.1, avx/avx2. * S390X added support for NNPA (neural network processing assist) facility vector instructions VCNF, VCLFNH, VCFN, VCLFNL, VCRNF and NNPA (z16/arch14). * X86 recognizes new binutils-2.42 nop patterns. - drop VEX-x86-nop-pattern.patch (upstream) - drop armv6-support.diff (obsolete) - VEX-x86-nop-pattern.patch: bko#478624 - Valgrind incompatibility with binutils-2.42 on x86 with new nop patterns (unhandled instruction bytes: 0x2E 0x8D 0xB4 0x26)
Comments 0