llvm-project/compiler-rt/lib
Dmitry Mikulin d2224e17c3 ASan allocates a global data initialization array at the tail end of each
compunit's .data section. This vector is not poisoned. Because of this the
first symbol of the following section has no left red zone. As a result, ASan
cannot detect underflow for such symbols.

Poison ASan allocated metadata, it should not be accessible to user code.

This fix does not eliminate the problem with missing left red zones but it
reduces the set of vulnerable symbols from first symbols in each input data
section to first symbols in the output section of the binary.

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

llvm-svn: 314365
2017-09-27 23:32:01 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan ASan allocates a global data initialization array at the tail end of each 2017-09-27 23:32:01 +00:00
builtins [builtins] ARM: Revert r314284, r314285 and r314289 2017-09-27 19:06:47 +00:00
cfi CFI: Move STL allocator blacklist to clang 2017-08-04 20:04:01 +00:00
dfsan [sanitizer_common] Move filesystem-related code out of sanitizer_common.cc 2017-07-22 01:46:40 +00:00
esan [esan] Use stack_t instead of struct sigaltstack (PR34011) 2017-08-22 21:54:37 +00:00
fuzzer [libFuzzer] minor refactoring, NFC 2017-09-15 22:10:36 +00:00
interception [Fuchsia] Magenta -> Zircon 2017-09-13 01:18:15 +00:00
lsan [lsan] Add __lsan_default_options 2017-09-22 23:49:49 +00:00
msan [compiler-rt] Cleanup decorators 2017-09-11 20:55:49 +00:00
profile [profile] Update InstrProfData.inc 2017-09-18 23:37:32 +00:00
safestack Enable SafeStack on NetBSD 2017-08-10 18:40:09 +00:00
sanitizer_common Revert "Add support for custom loaders to symbolizer" 2017-09-27 21:35:33 +00:00
scudo [scudo] Scudo thread specific data refactor, part 3 2017-09-26 17:20:02 +00:00
stats Support compiler-rt builtins 2017-07-28 03:39:38 +00:00
tsan [tsan] Annotate function parameters with attribute 'noescape'. 2017-09-21 22:16:50 +00:00
ubsan [ubsan] Replace CommonSanitizerReportMutex with ScopedErrorReportLock 2017-09-23 02:47:21 +00:00
ubsan_minimal [ubsan-minimal] Make the interface more compatible with RTUBSan 2017-09-19 06:46:36 +00:00
xray [XRay][compiler-rt] Remove non-trivial globals from xray_log_interface.cc 2017-09-21 10:16:56 +00:00
CMakeLists.txt [cmake] Make it possible to build and test profile without sanitizers 2017-09-18 18:13:47 +00:00