GCS (Guarded Control Stack) support is missing
- Langage dominant
- Assembly
- Étoiles
- 370
- Forks
- 186
- Merge moyen
- 24 j 6 h
- PR mergées (30 j)
- 1
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.