Valgrind Resource Collection

Valgrind Articles

Valgrind Slides

Comparison Of Memory Tools

Table modify from address-sanitizer - ComparisonOfMemoryTools

  AddressSanitizer Valgrind (Memcheck) Valgrind (SGCheck)
technology CTI DBI DBI
ARCH x86, x86_64, ARM, PPC, ... x86, x86_64, ARM, PPC, ... x86, x86_64, ARM, PPC, ...
OS Linux, FreeBSD, Android, Mac, Windows, ... Linux, FreeBSD, Android, Mac, ... Linux, FreeBSD, Android, Mac, ...
Slowdown 2x 20x  
Detects:      
Heap OOB O O X
Stack OOB O X O
Global OOB O X O
UAF O O X
UAR O O X
UMR X O X
Leaks O O X
縮寫 全名
CTI Compile-Time Instrumentation
DBI Dynamic Binary Instrumentation
UMR Uninitialized Memory Reads
UAF Use-After-Free (aka dangling pointer)
UAR Use-After-Return
OOB Out-Of-Bounds