boostorg / boostorg/context

GCS (Guarded Control Stack) support is missing

Aperta
#332 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Assembly
Stelle
370
Fork
186
Merge medio
24g 6h
PR unite (30g)
1

Descrizione

When building with GCC15+, binutils 2.44+, glibc 2.41+ and `-mbranch-protection=standard` on (openSUSE Tumbleweed) aarch64, this enables PAC, BTI and GCS (Guarded Control Stack).
PAC and BTI are already supported with https://github.com/boostorg/context/pull/312
A patch similar to https://github.com/smuellerDD/leancrypto/commit/fe9751f2b13581e938f25b82f3e725372223af81 for `src/asm/*_arm64_aapcs_elf_gas.S` should be enough if assembler code does nothing around control flow (things like loaders, exception unwinders, etc)

More details on GCS:
* https://community.arm.com/arm-community-blogs/b/tools-software-ides-blog/posts/gcc-15-continuously-improving#guarded
* https://docs.kernel.org/next/arch/arm64/gcs.html

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.