4 ms·
By msan, are you referring to this? https://clang.llvm.org/docs/MemorySanitizer.html https://clang.llvm.org/docs/MemorySanitizer.html (I'd never heard of the t
by wtracy 8y ago
By msan, are you referring to this? https://clang.llvm.org/docs/MemorySanitizer.html https://clang.llvm.org/docs/MemorySanitizer.html
(I'd never heard of the tool before.)
- rurban 8y agoYes, this is msan. All the clang sanitizers have handy names, like tsan, msan, asan, ubsan, ksan. And they even made it to gcc.
- corndoge 8y agoIIRC they were in GCC first and later ported to clang because it was too annoying for Google to continue to maintain them in GCC.
- rurban 8y agoAs far as I know Kostya he started by improving Helgrind as valgrind plugin in 2008: the first ThreadSanitizer (as project data-race-test) https://storage.googleapis.com/pub-tools-public-publication-data/pdf/35604.pdf https://storage.googleapis.com/pub-tools-public-publication-... which was a harder problem than oob checks. But it was still too slow, and they started with tsan and asan as clang plugin. Years later they ported it to gcc. gcc started then becoming more plugin friendly.