7 ms·
This. I personally think ASAN and it's friends are some of, if not the, best things to happen to C/C++ in the last decade. We use it at work, I use it in all my
by dlundqvist 4y ago
This. I personally think ASAN and it's friends are some of, if not the, best things to happen to C/C++ in the last decade. We use it at work, I use it in all my personal projects. We've found "countless" bugs with ASAN together with LSAN.
It should be part any project from the start, run as much as possible with ASAN when the performance hit can be afforded.
- pseudoramble 4y agoJust confirming, but you're taking about Leak Sanitizer? https://clang.llvm.org/docs/LeakSanitizer.html https://clang.llvm.org/docs/LeakSanitizer.html. Not really familiar with these tools, definitely not the acronyms.
- dlundqvist 4y agoSorry, yes, I meant Leak Sanitizer.
- pseudoramble 4y agoNo need to be sorry! I appreciate it! It was actually in the link the parent posted. I just missed it at first.
- thewebcount 4y agoAgreed! Likewise, if you're doing anything multithreaded, ThreadSanitizer (TSAN) is a must!