[Bug target/102768] [feature request] Add support for aarch64 shadow call stack

2021-10-18 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 --- Comment #3 from nsz at gcc dot gnu.org --- well, protection mechanisms are rarely equivalent. neither scs nor traditional stack protector are perfect. to me compiler support for freestanding environments such as linux makes sense. i cannot i

[Bug target/102768] [feature request] Add support for aarch64 shadow call stack

2021-10-15 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 --- Comment #2 from ashimida --- (In reply to nsz from comment #1) > note that this at least > > - requires runtime support (to manage the shadow stack), > - needs a reserved register (x18), > - affects unwinding (shadow stack must be unwoun

[Bug target/102768] [feature request] Add support for aarch64 shadow call stack

2021-10-15 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org --- Comm

[Bug target/102768] [feature request] Add support for aarch64 shadow call stack

2021-10-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Component|rtl-opti