sanitizers: Implement sig{and,or}set interceptors
authorGui Andrade <guiand@google.com>
Sat, 18 Jul 2020 03:09:39 +0000 (03:09 +0000)
committerGui Andrade <guiand@google.com>
Sat, 18 Jul 2020 03:09:39 +0000 (03:09 +0000)
commit780528d9da707b15849d6c9711cc3ab19f6c7f00
treefaf46a39414ce77e4b207f21f95be5194edcfa0a
parentbb07eb944f9b9ca7b3d8ac786c92e1f5bf59e3e1
sanitizers: Implement sig{and,or}set interceptors

Also adds a sanitizers-wide test, and a msan test, for these functions.
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
compiler-rt/test/msan/Linux/sigandorset.cpp [new file with mode: 0644]
compiler-rt/test/sanitizer_common/TestCases/Linux/signal_send.cpp [new file with mode: 0644]