Asanify is an open-source tool that detects various memory errors such as buffer overflows and use-after-free, linking code against a custom version of LLVM's AddressSanitizer library.
Asanify is an open-source memory error detector for C/C++ programs. It works by instrumenting the code during compilation to add checks that detect common memory safety issues like buffer overflows, use-after-free, memory leaks etc.
Under the hood, asanify leverages LLVM's AddressSanitizer, a fast memory error detector. When a program is compiled with asanify, it links against a custom asan runtime library which defines the memory error detection logic. This library gets injected into the program during compilation by LLVM.
Some key capabilities of asanify include:
Asanify makes it easy to build C/C++ programs with memory safety instrumentation. The integration with common build systems like CMake and autoconf allows enabling asanify with just a few configuration changes. It provides a valuable tool for developers looking to write safer, bug-free code.
Here are some alternatives to Asanify:
Suggest an alternative ❐