Sign in
Log inSign up

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?