GCS (Guarded Control Stack) support is missing
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- linux
- Domain
- operating-systems
Research direction
Start with src/asm/*_arm64_aapcs_elf_gas.S and compare the linked leancrypto patch for the corresponding AArch64 assembler changes. Build boostorg/context with GCC 15+, binutils 2.44+, glibc 2.41+ and -mbranch-protection=standard on openSUSE Tumbleweed aarch64. Done means the assembler sources support GCS alongside the existing PAC and BTI support.
Written by the indexing model from the issue text.
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:
- Dominant language
- Assembly
- Stars
- 371
- Forks
- 186
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/context
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Support for the PACOpen
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in boostorg/context
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
comp/agent P3 tool/terminal type/feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NousResearch/hermes-agent#131900 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
lay295/TwitchDownloader#1673 ·