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-12-SP4:GA
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout SUSE:SLE-12-SP4:Update/valgrind && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
0001-Accept-read-only-PT_LOAD-segments-and-.rodata |
0000004239 4.14 KB | |
Implement-emulated-system-registers.-Fixes-392146. |
0000013834 13.5 KB | |
armv6-support.diff | 0000000302 302 Bytes | |
epoll-wait-fix.patch | 0000001139 1.11 KB | |
jit-register-unregister.diff | 0000007321 7.15 KB | |
valgrind-3.13.0.tar.bz2 | 0014723076 14 MB | |
valgrind.changes | 0000037423 36.5 KB | |
valgrind.spec | 0000009858 9.63 KB | |
valgrind.xen.patch | 0000061769 60.3 KB |
Latest Revision
- valgrind.xen.patch: refresh - Filter out -m64 from optflags, breaks build of 32 bit parts - Cleanup, remove suse_version < 1100 conditionals - Use %license for COPYING, COPYING.DOCS - Fix missing debuginfo with current binutils, boo#1103239 0001-Accept-read-only-PT_LOAD-segments-and-.rodata.patch - ad Implement-emulated-system-registers.-Fixes-392146.patch (bsc#1086543) - add valgrind.xen.patch to handle Xen 4.10 (fate#321394, fate#322686) - add epoll-wait-fix.patch (bsc#1064958) - update to 3.13.0 (fate#321455): - remove fix-ppcl64-clobber-list.patch 3.13.0 is a feature release with many improvements and the usual collection of bug fixes. See http://valgrind.org/docs/manual/dist.news.html - Add fix-ppcl64-clobber-list.patch: fix clobber list on ppcl64le, it's backport of upstream patch.
Comments 0