]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl, aarch64: Read PAC mask from core
authorSteve Capper <steve.capper@arm.com>
Mon, 26 Aug 2024 10:52:57 +0000 (11:52 +0100)
committerMark Wielaard <mark@klomp.org>
Fri, 30 Aug 2024 13:10:39 +0000 (15:10 +0200)
commitc12063d5d04c9b9654fd98ee628a31d599abfbb7
treed0e655903e444340ee014dca1fa3556e48479565
parent64e3b451ad2cec8d45661b1816e3d2dc4431f3ca
libdwfl, aarch64: Read PAC mask from core

We need to read the PAC mask from a core file when debugging offline
as the information is still needed to demangle return addresses.

This commit pulls out the NT_ARM_PAC_MASK info from the core and feeds
it through to dwfl_thread_state_registers for each thread.

Signed-off-by: Steve Capper <steve.capper@arm.com>
backends/aarch64_corenote.c
libdwfl/linux-core-attach.c