Skip to content

GCS (Guarded Control Stack) support is missing #332

@ggardet

Description

@ggardet

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 #312
A patch similar to smuellerDD/leancrypto@fe9751f 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions