0xMiden / 0xMiden/compiler

feat(objtool): enable analyzing sizes of MAST sections

未關閉
#1,028 0 則留言 0 個 reaction 已指派 1 人 已被 @mooori 認領 在 GitHub 檢視
good first issue
主要語言
Rust
星號
115
分支
84
平均合併
1 天 8 小時
30 天內合併 PR
15

描述

Add a command to `objtool` that can be pointed at a `masp` packages and analyzes the sizes of MAST sections like nodes, basic block data, strings.

Should also have an option to produce machine readable output (e.g. json or toml) to support CI/workflow integration.

Depends on [this refactor](https://github.com/0xMiden/miden-vm/pull/2765) of MAST forest serialization.

貢獻指南

開啟貢獻指南

研究方向

該 issue 依賴於 miden-vm 儲存庫中 MAST 森林序列化的重構。首先檢查 `objtool` 命令結構和 MAST 套件格式。尋找現有的尺寸分析或序列化程式碼。輸出格式(JSON/TOML)需要整合到 CLI 中。查看連結的 PR #2765 以了解序列化變更。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rust
領域
cli, tooling
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。