Add CFI directives to asm blocks
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- embedded-iot
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Rust
- Star
- 1k
- Fork
- 202
- Merge trung bình
- 1 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rust-embedded/cortex-m
-
Deprecation of `bare-metal`Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
rust-embedded/cortex-m#651 · 5 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
rust-embedded/cortex-m#637 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
rust-embedded/cortex-m#511 · 2 bình luận ·
-
Rename default branch to `main`Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
rust-embedded/cortex-m#700 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
rust-embedded/cortex-m#694 · 1 bình luận ·
Tất cả issue của rust-embedded/cortex-m
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Y-ASLant/ElegantClipboard#178 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
linxiv-dev/linXiv#384 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug drawings ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
userFRM/egui-charts#1595 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tcp: a very large keep-alive interval overflows `Instant` arithmetic (panic in debug builds)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
smoltcp-rs/smoltcp#1235 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
scope:core type:security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày