[PATCH 0/4] kasan: add clang support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux