hanchenye-llvm-project/compiler-rt/test/asan
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
..
TestCases ASan allocates a global data initialization array at the tail end of each 2017-09-27 23:32:01 +00:00
Unit [lit] Limit parallelism of sanitizer tests on Darwin [compiler-rt part, take 2] 2017-01-20 00:25:01 +00:00
CMakeLists.txt [asan] Enable asan_and_llvm_coverage_test.cc on Android 2017-09-16 03:26:03 +00:00
lit.cfg [sanitizer] Move android_commoands from asan into sanitizer_common 2017-09-16 05:13:56 +00:00
lit.site.cfg.in [sanitizer] Move android_commoands from asan into sanitizer_common 2017-09-16 05:13:56 +00:00