[PATCH] [ASan] Initial support for Kernel AddressSanitizer
Alexander Potapenko
glider at google.com
Fri Jun 19 05:12:05 PDT 2015
Updated the test to use __attribute__((no_sanitize("kernel-address"))) as a workaround. We'll still need to decide which of the three attributes:
- __attribute__((no_sanitize_address))
- __attribute__((no_sanitize("address")))
- __attribute__((no_sanitize("kernel-address")))
shall affect KASan instrumentation.
http://reviews.llvm.org/D10411
Files:
include/llvm/Transforms/Instrumentation.h
lib/Transforms/Instrumentation/AddressSanitizer.cpp
tools/clang/include/clang/Basic/Sanitizers.def
tools/clang/include/clang/Basic/Sanitizers.h
tools/clang/lib/AST/Decl.cpp
tools/clang/lib/Basic/Sanitizers.cpp
tools/clang/lib/CodeGen/BackendUtil.cpp
tools/clang/lib/CodeGen/CGDeclCXX.cpp
tools/clang/lib/CodeGen/CodeGenFunction.cpp
tools/clang/lib/CodeGen/CodeGenModule.cpp
tools/clang/lib/CodeGen/SanitizerMetadata.cpp
tools/clang/lib/Driver/SanitizerArgs.cpp
tools/clang/lib/Lex/PPMacroExpansion.cpp
tools/clang/test/CodeGen/address-safety-attr-kasan.cpp
tools/clang/test/Driver/asan.c
tools/clang/test/Driver/fsanitize.c
tools/clang/test/Lexer/has_feature_address_sanitizer.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10411.28016.patch
Type: text/x-patch
Size: 26459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150619/4924265f/attachment.bin>
More information about the llvm-commits
mailing list