summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2025-02-28 15:08:55 +1100
committerLang Hames <lhames@gmail.com>2025-02-28 15:19:41 +1100
commit84934674907781c50494a125889ed16e23de2b9f (patch)
tree03a01ad58bb724dc1c8dfcdea27e54085a28ff25 /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
parent80f34e2716e8e69347ae16da5fff7114442db310 (diff)
[JITLink][AArch64] Ensure that nulls remain null during ptrauth signing.
Signing a null pointer value can, and usually will, result in some high bits being set, causing null checks to fail. E.g. in extern void __attribute__((weak_import)) f(void); void (*p) = &f; if f is undefined then p should be null (left unsigned). This patch updates lowerPointer64AuthEdgesToSigningFunction to check for Pointer64Authenticated edges to null targets. Where found, these edges are turned into plain Pointer64 edges (which we know from context will write a null value to the fixup location), and signing instructions for these locations are omitted from the signing function.
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions