[libcxx-commits] [compiler-rt] [libcxxabi] [libunwind] [runtimes][PAC] Harden unwinding when possible (#138571) (PR #143230)
Oliver Hunt via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Aug 5 23:10:26 PDT 2025
================
@@ -129,26 +129,29 @@ struct UnwindInfoSections {
defined(_LIBUNWIND_SUPPORT_COMPACT_UNWIND) || \
defined(_LIBUNWIND_USE_DL_ITERATE_PHDR)
// No dso_base for SEH.
- uintptr_t dso_base;
+ uintptr_t __ptrauth_unwind_info_section_dso_base dso_base = 0;
----------------
ojhunt wrote:
paranoia about uninitialized memory (for instance prior authenticated pointers), however since I've removed pac qualifiers on the fields we don't use/can't test I'll remove the changes to those portions.
https://github.com/llvm/llvm-project/pull/143230
More information about the libcxx-commits
mailing list