]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86_64: Use shadow stack for backtrace implementation fw/x86-shstk-backtrace
authorFlorian Weimer <fweimer@redhat.com>
Fri, 31 May 2024 10:26:43 +0000 (12:26 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 31 May 2024 20:49:18 +0000 (22:49 +0200)
commitc5f7f4fc8bb857cbe07972ff1e29970b101e9995
tree3ee7b5b3127b3be0bf34b291dd0537f207b5d679
parent90ee0d87302810f1670a1fbcf9455b883309b1de
x86_64: Use shadow stack for backtrace implementation

Test failures:

FAIL: debug/tst-backtrace4
FAIL: misc/tst-sigcontext-get_pc

The return address of signal handlers is not on the shadow stack.
debug/backtrace.c
sysdeps/generic/arch_backtrace.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/tst-sigcontext-get_pc.c
sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c
sysdeps/x86/cpu-features.c
sysdeps/x86_64/arch_backtrace.h [new file with mode: 0644]
sysdeps/x86_64/dl-cet.c