]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: Implement amd64 linux shadow stack support for inferior calls.
authorChristina Schimpe <christina.schimpe@intel.com>
Thu, 11 Apr 2024 09:55:01 +0000 (05:55 -0400)
committerChristina Schimpe <christina.schimpe@intel.com>
Fri, 29 Aug 2025 17:02:10 +0000 (17:02 +0000)
commita48e55b57081eb14149776f46afb65da2d5966cd
treef21e4396cd4fb247a89a49809fb0b51cd300be88
parent4c2fee0658ea2f279d8eb09f20962f139d9dfec3
gdb: Implement amd64 linux shadow stack support for inferior calls.

This patch enables inferior calls to support Intel's Control-Flow
Enforcement Technology (CET), which provides the shadow stack feature
for the x86 architecture.
Following the restriction of the linux kernel, enable inferior calls
for amd64 only.

Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Luis Machado <luis.machado@arm.com>
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/amd64-linux-tdep.c
gdb/doc/gdb.texinfo
gdb/testsuite/gdb.arch/amd64-shadow-stack-cmds.exp