summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorThurston Dang <thurston@google.com>2025-03-24 16:24:38 -0700
committerGitHub <noreply@github.com>2025-03-24 16:24:38 -0700
commit3ce3d889f6a7faacb883f563697764b8a58c4abf (patch)
tree96d6456b6814b74fb41467b6f64e5d4e631286af /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent567b0f89239b0e3f0e96419038863f2386b635e3 (diff)
[asan] Re-exec without ASLR if needed on 64-bit Linux (#132682)
This generalizes https://github.com/llvm/llvm-project/pull/131975 to non-32-bit Linux (i.e., 64-bit Linux). This works around an edge case in 64-bit Linux, whereby the memory layout is incompatible if the stack size is unlimited AND ASLR entropy is 31+ bits (see https://github.com/google/sanitizers/issues/856#issuecomment-2747076811). More generally, this "re-exec without ASLR if layout is incompatible" is a hammer that can work around most shadow mapping issues, without incurring the overhead of using a dynamic shadow.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions