boostorg / boostorg/context

GCS (Guarded Control Stack) support is missing

Offen
#332 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Assembly
Sterne
370
Forks
186
Ø Merge
24 T. 6 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.