Add CFI directives to asm blocks
まだ誰も着手していません。
評価
- 難易度
- 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rust-embedded/cortex-m のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
rust-embedded/cortex-m#651 · コメント 5 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
rust-embedded/cortex-m#637 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
rust-embedded/cortex-m#511 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
rust-embedded/cortex-m#694 · コメント 1 件 ·
-
Enabling LOBオープン
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
rust-embedded/cortex-m#691 · コメント 1 件 ·
rust-embedded/cortex-m の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
mishraprafful/multihull#150 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
voidzero-dev/vite-plus#2970 ·
メンテナーはふだん 1 日以内に返信
-
ai_p2 comp-parquet-reader-v3
難易度 2/5 半日 初心者へのやさしさ 66/100
ClickHouse/ClickHouse#124986 ·
メンテナーはふだん 1 日以内に返信
-
bug(ktuner): exporter directories hide daemon processes対応中かも @iloveeyjafjalla が今日担当しました。 オープンcomponent:ktuner
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
agentic-os-org/ANOLISA#6905 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Feature]: [P3] engine-rs: the package source hash should ignore line endings and untracked filesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
maniator/verticopolis#880 ·
メンテナーはふだん 1 日以内に返信