Kernel Address Sanitizer Comes To LLVM's Clang
Written by Michael Larabel in LLVM on 19 June 2015 at 09:43 AM EDT. 2 Comments
LLVM --
LLVM's Clang C/C++ compiler now has initial Kernel Address Sanitizer support.

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.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week