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

Add CFI directives to asm blocks

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

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

評価

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

調査の方向性

Start by locating the assembly blocks in the cortex-m crate and read the linked ARM guidance and related rust-embedded/aarch32 issue. Use the reported probe-rs unwind error as a reference when checking the affected paths. Done means the debugger can unwind through the relevant assembler functions without the reported CFA error.

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

説明

See https://support.arm.com/documentation/107976/22-1-0/Debug-information-for-your-application/How-to-get-a-backtrace-through-AArch32-assembler-functions for details on telling the debugger about where functions start and end, and when LR is corrupted.

See also https://github.com/rust-embedded/aarch32/issues/230

This might resolve the following probe-rs error:

Firmware exited with: Unknown runtime error
ERROR probe_rs_debug::debug_info: Other("UNWIND: Tried to unwind `RegisterRule` at CFA = None.")
Core 0
    Frame 0: syscall1 @ 0x16c4 inline
        /Users/jonathan/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-semihosting-app/src/bin/panic.rs:9:1
    <snip stack frames>
    Frame 9: Reset : ERROR: UNWIND: Tried to unwind `RegisterRule` at CFA = None. @ 0x13a
Error: Unknown runtime error
主要言語
Rust
スター
1k
フォーク
201
平均マージ
1時間 8分
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

rust-embedded/cortex-m のほかの issue

rust-embedded/cortex-m の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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