[PATCH 0/4] kasan: add clang support

From: Greg Hackmann
Date: Thu Jul 06 2017 - 18:02:01 EST


This patch series adds support for building KASAN-enabled kernels with clang.
This mostly involves adding callbacks for a couple of new features in LLVM's
AddressSanitizer implementation. We also need to probe for the (slightly
different) CFLAGS used to configure ASAN with clang.

*** BLURB HERE ***

Alexander Potapenko (1):
kasan: added functions for unpoisoning stack variables

Greg Hackmann (3):
kasan: support alloca() poisoning
kasan: support LLVM-style asan parameters
kasan: add compiler support for clang

include/linux/compiler-clang.h | 10 ++++++++++
lib/test_kasan.c | 22 ++++++++++++++++++++++
mm/kasan/kasan.c | 41 +++++++++++++++++++++++++++++++++++++++++
mm/kasan/kasan.h | 8 ++++++++
mm/kasan/report.c | 3 +++
scripts/Makefile.kasan | 10 +++++++++-
6 files changed, 93 insertions(+), 1 deletion(-)

--
2.13.2.725.g09c95d1e9-goog