簡體   English   中英

在 Rust 中訪問 linker 符號

[英]Accessing linker symbols in Rust

如何訪問在 Rust 的 LD 文件中定義的符號(例如 memory 地址)?

與 GNU C/C++ 類似: https://mcuoneclipse.com/2016/11/01/getting-the-memory-range-of-sections-with-gnu-linker-files/

我已經在 Rustonomicon 中檢查過,但沒有成功。

如何訪問在 Rust 的 LD 文件中定義的符號(例如 memory 地址)?

與 GNU C/C++ 類似: https://mcuoneclipse.com/2016/11/01/getting-the-memory-range-of-sections-with-gnu-linker-files/

我已經在 Rustonomicon 中檢查過,但沒有成功。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM