
The Kernel Address Sanitizer is Google's AddressSanitizer (ASan) fast memory error detector modified for the Linux kernel. ASan finds use-after-frees, heap/stack/global buffer overflow bugs, and other memory issues within C and C++ code-bases. Clang has already supported ASan but now it has support for the Linux kernel ASan.
With this commit to LLVM and this to Clang, -fsanitize=kernel-address can be passed to Clang for utilizing the KASan.
Those wishing to learn more about Address Sanitizer for Clang or GCC, visit the Google Code site.
2 Comments