My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Native Developers - Have you tried building with Address Sanitizer aka ASAN?

Todd's photo
Todd
·Jun 1, 2018

I've heard a lot about this tool recently and also started using it. It is very helpful. It's becoming more and more well-known and is great for finding memory leaks, buffer overflows, and other memory related issues in code.

It's a dynamic analyzer in that you have to build with the compiler options: -fsanitize=address and sometimes -lasan. Then you run the application and even better, fuzz the application, and it will print out problems it finds to stderr.

Who else has used this tool and what were your experiences like?