llvm-project/compiler-rt/test/asan
Peter Wu dbc4f7413c [ASAN] Add interceptor for __longjmp_chk
Summary:
glibc on Linux calls __longjmp_chk instead of longjmp (or _longjmp) when
_FORTIFY_SOURCE is defined. Ensure that an ASAN-instrumented program
intercepts this function when a system library calls it, otherwise the
stack might remain poisoned and result in CHECK failures and false
positives.

Fixes https://github.com/google/sanitizers/issues/721

Reviewed By: eugenis

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

llvm-svn: 302152
2017-05-04 14:03:57 +00:00
..
TestCases [ASAN] Add interceptor for __longjmp_chk 2017-05-04 14:03:57 +00:00
Unit [lit] Limit parallelism of sanitizer tests on Darwin [compiler-rt part, take 2] 2017-01-20 00:25:01 +00:00
android_commands [asan] Remove asanwrapper from Android test harness. 2017-04-24 21:27:45 +00:00
CMakeLists.txt [asan] Fix dead stripping of globals on Linux (compiler-rt). 2017-04-27 20:27:33 +00:00
lit.cfg [asan] Add a compilation wrapper that codesigns shared libraries to support iOS simulator testing 2017-04-28 04:55:35 +00:00
lit.site.cfg.in [asan] Add support for running lit tests in the iOS Simulator 2017-04-26 18:59:22 +00:00