aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorThurston Dang <thurston@google.com>2025-10-14 01:58:49 +0000
committerGitHub <noreply@github.com>2025-10-13 18:58:49 -0700
commit812a225811bd43aff1e5a5cf1117a0531e533504 (patch)
treea7328c921049dc124f46573ca68fa41c8d92020e /lldb/packages/Python/lldbsuite/test/configuration.py
parent8706ef474c4bbc7cf7bf8895649789b96e07c842 (diff)
downloadllvm-812a225811bd43aff1e5a5cf1117a0531e533504.zip
llvm-812a225811bd43aff1e5a5cf1117a0531e533504.tar.gz
llvm-812a225811bd43aff1e5a5cf1117a0531e533504.tar.bz2
[sanitizer] Add cloak_sanitizer_signal_handlers runtime option (#162746)
If set, signal/sigaction will pretend that the sanitizers did not preinstall any signal handlers. If a user successfully installs a signal handler, it will not be cloaked. The flag is currently off by default, which means this patch should not affect the behavior of any sanitizers. This can be useful in an ecosystem where: 1) there exists a library that will install a signal handler iff it does not detect a preinstalled signal handler (a heuristic to prevent overriding user-installed exception handlers etc.) 2) the aforementioned library is linked in to some, but not all, apps 3) user-installed signal handlers are intended to have the highest priority, followed by the library-installed signal handler, and then the sanitizer's signal handler The flag is in sanitizer_common, though it is currently only supported in ASan, LSan, MSan, TSan and UBSan.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions