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 openSUSE:12.1
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:12.1:Update/valgrind && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
glibc-2.14.diff | 0000001366 1.33 KB | |
jit-register-unregister.diff | 0000007134 6.97 KB | |
valgrind-3.6.0.svn11566-s390x-port.diff | 0002977071 2.84 MB | |
valgrind-3.6.1-kernel3.patch | 0000000517 517 Bytes | |
valgrind-3.6.1.tar.bz2 | 0005974836 5.7 MB | |
valgrind-r11643.diff | 0000000840 840 Bytes | |
valgrind-r11644.diff | 0000001348 1.32 KB | |
valgrind-vex-r2106.diff | 0000001638 1.6 KB | |
valgrind-vex-r2109.diff | 0000000679 679 Bytes | |
valgrind.changes | 0000018932 18.5 KB | |
valgrind.spec | 0000007322 7.15 KB | |
valgrind_r12002.diff | 0000001641 1.6 KB | |
vg_bug259977_r11687.patch | 0000034711 33.9 KB | |
vg_bug259977_r11688.patch | 0000006607 6.45 KB | |
vg_bug259977_r11689.patch | 0000005709 5.58 KB | |
vg_bug259977_r11690.patch | 0000004074 3.98 KB | |
vg_bug267630_r2127.patch | 0000120971 118 KB | |
vg_bug270794_r11697.patch | 0000384212 375 KB | |
vg_bug270851_r2130.patch | 0000003163 3.09 KB | |
vg_bug270851_r2148.patch | 0000008552 8.35 KB | |
vg_bug270856_r2136.patch | 0000001054 1.03 KB | |
vg_bug271042_r11699.patch | 0000000397 397 Bytes | |
vg_bug271043_r11700.patch | 0000000849 849 Bytes | |
vg_bug271043_r11765.patch | 0000000729 729 Bytes |
Latest Revision
copy after accepting 89284
Comments 0