On Tue, 2 Apr 2019 at 23:33, Jonny Grant <jg@xxxxxxxx> wrote: > > Hi! > > clang has memory sanitizer, > https://github.com/google/sanitizers/wiki/MemorySanitizer > > Just wondering if this is coming to GCC? There was a thread about this just the other day: https://gcc.gnu.org/ml/gcc-help/2019-03/msg00203.html The answer is no, nobody's working on supporting it. Jakub does most of the sanitizer work, and doesn't see much benefit compared to valgrind, because msan requires the entire program and all libraries it uses to be rebuilt with msan instrumentation. Valgrind works on uninstrumented binaries.