https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768
Bug ID: 102768
Summary: [feature request] Add support for aarch64 shadow call
stack
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: ashimida at linux dot alibaba.com
Target Milestone: ---
Shadow Call Stack can be used to protect the return address of a function at
runtime, and clang already supports this feature[1].
Linux kernel also recently had a submission to support Shadow Call Stack on
aarch64 through a gcc plugin[2].
Could we add similar support in gcc?
[1] https://clang.llvm.org/docs/ShadowCallStack.html
[2]
https://patchwork.kernel.org/project/linux-hardening/patch/[email protected]/