Hacker News new | ask | show | jobs
by dlundqvist 1359 days 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.

2 comments

Just confirming, but you're taking about Leak Sanitizer? https://clang.llvm.org/docs/LeakSanitizer.html. Not really familiar with these tools, definitely not the acronyms.
Sorry, yes, I meant Leak Sanitizer.
No need to be sorry! I appreciate it!

It was actually in the link the parent posted. I just missed it at first.

Agreed! Likewise, if you're doing anything multithreaded, ThreadSanitizer (TSAN) is a must!