Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

GCS (Guarded Control Stack) support is missing

Open
#332 1 comment 0 reactions 0 assignees View on GitHub

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/context

All issues in boostorg/context

Similar issues

More Operating Systems issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.