Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

GCS (Guarded Control Stack) support is missing

オープン
#332 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
linux

調査の方向性

src/asm/*_arm64_aapcs_elf_gas.S から始め、対応する AArch64 アセンブラの変更についてリンクされた leancrypto パッチと比較します。openSUSE Tumbleweed aarch64 上で、GCC 15+、binutils 2.44+、glibc 2.41+、および -mbranch-protection=standard を使って boostorg/context をビルドします。アセンブラソースが既存の PAC および BTI のサポートに加えて GCS をサポートすれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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:

主要言語
Assembly
スター
371
フォーク
185
平均マージ
4日 13時間
マージ済み PR(30日)
1

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

boostorg/context のほかの issue

boostorg/context の issue をすべて見る

似ている issue

Operating Systems の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。