llvm-project/compiler-rt/lib
Derek Bruening 34913f3beb [esan|wset] Ensure SIGSEGV is not blocked
Summary:
Adds interception of sigprocmask and pthread_sigmask to esan so that the
working set tool can prevent SIGSEGV from being blocked.  A blocked SIGSEGV
results in crashes due to our lazy shadow page allocation scheme.

Adds new sanitizer helper functions internal_sigemptyset and
internal_sigismember.

Adds a test to workingset-signal-posix.cpp.

Reviewers: aizatsky

Subscribers: vitalybuka, zhaoqin, kcc, eugenis, llvm-commits, kubabrecka

Differential Revision: http://reviews.llvm.org/D22063

llvm-svn: 274672
2016-07-06 21:04:48 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan [compiler-rt] Fix cmake to propagate debug info to runtime unittests 2016-07-01 21:12:07 +00:00
builtins builtins: tag with noexecstack 2016-06-22 22:09:42 +00:00
cfi [sancov] common flags initialization. 2016-03-18 19:28:07 +00:00
dfsan [sanitizer] [SystemZ] Abort if the kernel might be vulnerable to CVE-2016-2143. 2016-04-27 17:42:00 +00:00
esan [esan|wset] Ensure SIGSEGV is not blocked 2016-07-06 21:04:48 +00:00
interception Fix cmake generation on Apple for interception unittests 2016-07-06 21:02:32 +00:00
lsan [sanitizers] introduce yet another API function: __sanitizer_install_malloc_and_free_hooks 2016-06-16 20:06:06 +00:00
msan [sanitizers] introduce yet another API function: __sanitizer_install_malloc_and_free_hooks 2016-06-16 20:06:06 +00:00
profile Use CreateFileA and add a FIXME to switch to the wide variant 2016-06-23 15:40:42 +00:00
safestack [compiler-rt] [safestack] Enable for aarch64 2015-12-11 17:38:38 +00:00
sanitizer_common [esan|wset] Ensure SIGSEGV is not blocked 2016-07-06 21:04:48 +00:00
scudo [sanitizer] Initial implementation of a Hardened Allocator 2016-06-07 01:20:26 +00:00
stats [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
tsan [tsan] Fix false positives with GCD dispatch_source_* 2016-07-06 11:02:49 +00:00
ubsan UBSan: crash less often on corrupted Vtables. 2016-06-02 18:36:12 +00:00
CMakeLists.txt [sanitizer] Initial implementation of a Hardened Allocator 2016-06-07 01:20:26 +00:00
Makefile.mk Remove autoconf support for building runtime libraries. 2016-01-26 21:31:12 +00:00