Hi Orion. It may be off-topic but did you try using sanitizers? AFAIR, they've appeared first in Clang but now you can use these instruments in GCC too. Currently I don't see any reason for using Valgrind instead of AddressSanitizer (one should specify -fsanitize=address for compilation and linking) except the case when you don't have the full source code or have limited test environment (such as 32-bit system, VZ container or system with some ancient compiler). IMHO this is much faster than valgrind and catches more problems.