llvm-project/compiler-rt/lib
Vitaly Buka d4e03d59cb [sanitizer_common] Fuchsia support for interceptors
Summary:
Actually Fuchsia non-support for interceptors.  Fuchsia doesn't use
interceptors in the common sense at all.  Almost all system library
functions don't need interception at all, because the system
libraries are just themselves compiled with sanitizers enabled and
have specific hook interfaces where needed to inform the sanitizer
runtime about thread lifetimes and the like.  For the few functions
that do get intercepted, they don't use a generic mechanism like
dlsym with RTLD_NEXT to find the underlying system library function.
Instead, they use specific extra symbol names published by the
system library (e.g. __unsanitized_memcpy).

Submitted on behalf of Roland McGrath.

Reviewers: vitalybuka, alekseyshl, kcc, filcab

Reviewed By: filcab

Subscribers: kubamracek, phosek, filcab, llvm-commits

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D36028

llvm-svn: 309745
2017-08-01 21:15:19 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan [asan] Move shadow memory setup into its own file 2017-07-31 06:48:34 +00:00
builtins Revert rL309634 until upstream buildbots have upgraded libc. 2017-08-01 17:16:05 +00:00
cfi Remove STL/microsoft-specific CFI blacklist entries 2017-07-31 20:39:32 +00:00
dfsan [sanitizer_common] Move filesystem-related code out of sanitizer_common.cc 2017-07-22 01:46:40 +00:00
esan Refactor MemoryMappingLayout::Next to use a single struct instead of output parameters. NFC. 2017-07-11 18:54:00 +00:00
interception [sanitizer_common] Fuchsia support for interceptors 2017-08-01 21:15:19 +00:00
lsan Support compiler-rt builtins 2017-07-28 03:39:38 +00:00
msan [msan] Reverting D36093 2017-07-31 22:46:01 +00:00
profile Change INSTR_PROF_DEFAULT_NUM_VAL_PER_SITE from 8 to 16. 2017-07-28 15:00:30 +00:00
safestack [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
sanitizer_common [sanitizer_common] Fuchsia support for interceptors 2017-08-01 21:15:19 +00:00
scudo [scudo] Check for pvalloc overflow 2017-07-25 21:18:02 +00:00
stats Support compiler-rt builtins 2017-07-28 03:39:38 +00:00
tsan [sanitizers test CMake] further refactor testing CMake for tsan 2017-07-28 17:38:44 +00:00
ubsan [ubsan] Enable UBSan build for Fuchsia 2017-08-01 20:48:36 +00:00
xray [XRay][compiler-rt] Do not print the warning when the binary is not XRay instrumented. 2017-07-31 05:16:20 +00:00
CMakeLists.txt Don't build tsan/dd when COMPILER_RT_HAS_TSAN is false 2017-06-27 21:10:46 +00:00