aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb.c
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2019-03-22 10:41:15 +0000
committerAlan Hayward <alan.hayward@arm.com>2019-03-22 10:41:15 +0000
commit17e116a7d1501a46cf4e45ec181148dc6a1e3e2b (patch)
tree40deddfbbe26fc77b1acb428e170a8a3d600a8b2 /gdb/gdb.c
parent11e1b75f0696f6e406fe8ccc759bac2fbc8fc151 (diff)
downloadfsf-binutils-gdb-17e116a7d1501a46cf4e45ec181148dc6a1e3e2b.zip
fsf-binutils-gdb-17e116a7d1501a46cf4e45ec181148dc6a1e3e2b.tar.gz
fsf-binutils-gdb-17e116a7d1501a46cf4e45ec181148dc6a1e3e2b.tar.bz2
AArch64: Prologue scan unwinder support for signed return addresses
Pauth address signing is enabled at binary compile time. When enabled the return addresses for functions may be mangled. This patch adds functionality to restore the original address for use in the prologue scan unwinder. In the prologue analyzer, check for PACIASP/PACIBSP (enable address mangling) and AUTIASP/AUTIBSP (disable address mangling). When unwinding the PC from the prologue, unmask the register if required. Add a test case to the prologue tests. gdb/ChangeLog: * aarch64-tdep.c (aarch64_analyze_prologue): Check for pauth instructions. (aarch64_analyze_prologue_test): Add PACIASP test. (aarch64_prologue_prev_register): Unmask PC value.
Diffstat (limited to 'gdb/gdb.c')
0 files changed, 0 insertions, 0 deletions