diff options
author | Oliver Hunt <oliver@apple.com> | 2025-10-20 09:57:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-20 09:57:45 -0700 |
commit | e6a1aff5916447630e9ec0e8a90594ca1ee7a1be (patch) | |
tree | 58a0f725dfbb6af67cabaf14e7047d9963ca2bf3 /clang/lib/AST/ByteCode/Program.cpp | |
parent | cd05383a462672c1c6bab9bbef1bbbe1be616aa3 (diff) | |
download | llvm-e6a1aff5916447630e9ec0e8a90594ca1ee7a1be.zip llvm-e6a1aff5916447630e9ec0e8a90594ca1ee7a1be.tar.gz llvm-e6a1aff5916447630e9ec0e8a90594ca1ee7a1be.tar.bz2 |
[runtimes][PAC] Harden unwinding when possible (#143230)
This hardens the unwinding logic and datastructures on systems
that support pointer authentication.
The approach taken to hardening is to harden the schemas of as many
high value fields in the myriad structs as possible, and then also
explicitly qualify local variables referencing privileged or security
critical values.
This does introduce ABI linkage between libcxx, libcxxabi, and
libunwind but those are in principle separate from the OS itself
so we've kept the schema definitions in the library specific headers
rather than ptrauth.h
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.cpp')
0 files changed, 0 insertions, 0 deletions