Skip to content

Commit b46d555

Browse files
committed
Still set results->ptrAuthDiversifier
We still need to set this value when we look at PAuthLR, it was just the 4 byte offset that needed removing
1 parent 87a7351 commit b46d555

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libunwind/src/DwarfParser.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,7 @@ bool CFI_Parser<A>::parseFDEInstructions(A &addressSpace,
808808
results->savedRegisters[UNW_AARCH64_RA_SIGN_STATE].value ^ 0x3;
809809
results->setRegisterValue(UNW_AARCH64_RA_SIGN_STATE, value,
810810
initialState);
811+
results->ptrAuthDiversifier = fdeInfo.pcStart + codeOffset;
811812
_LIBUNWIND_TRACE_DWARF(
812813
"DW_CFA_AARCH64_negate_ra_state_with_pc(pc=0x%" PRIx64 ")\n",
813814
static_cast<uint64_t>(results->ptrAuthDiversifier));

0 commit comments

Comments
 (0)