[ubsan] warn inside the sigaction interceptor if static linking is suspected, and...
authorKostya Serebryany <kcc@google.com>
Wed, 1 Sep 2021 18:11:45 +0000 (11:11 -0700)
committerKostya Serebryany <kcc@google.com>
Wed, 1 Sep 2021 19:36:48 +0000 (12:36 -0700)
commitb0fdbadf9f099e42bd2185ed32211b2d73cb2f58
treef1849d3fcf8ae1c12e10ef255c5623f2c2a8871a
parent88511f6bc56792b47fb6e003f5357eff3b94717a
[ubsan] warn inside the sigaction interceptor if static linking is suspected, and continue instead of crashing on null deref

[ubsan] warn inside the sigaction interceptor if static linking is suspected, and continue instead of crashing on null deref

Reviewed By: kostik

Differential Revision: https://reviews.llvm.org/D109081
compiler-rt/lib/sanitizer_common/sanitizer_signal_interceptors.inc
compiler-rt/test/ubsan/TestCases/Misc/Linux/static-link.cpp [new file with mode: 0644]