From 546b7b289ed083444ca3be2a78884e3c5c19a23c Mon Sep 17 00:00:00 2001 From: bgaechter Date: Fri, 13 May 2022 15:30:09 +0200 Subject: [PATCH] Fix for Pointer Authentication Properly strip PAC signatures from an arm64 process --- src/backward.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backward.h b/src/backward.h index 29beb81..5bd416d 100644 --- a/src/backward.h +++ b/src/backward.h @@ -4029,7 +4029,7 @@ class SignalHandling { # elif defined(__arm__) error_addr = reinterpret_cast(uctx->uc_mcontext.arm_pc); # elif defined(__aarch64__) - error_addr = reinterpret_cast(uctx->uc_mcontext.pc); + error_addr = reinterpret_cast(uctx->uc_mcontext->__ss.__pc); # elif defined(__mips__) error_addr = reinterpret_cast(reinterpret_cast(&uctx->uc_mcontext)->sc_pc); # elif defined(__ppc__) || defined(__powerpc) || defined(__powerpc__) || defined(__POWERPC__)