0xMiden/compiler

feat(objtool): enable analyzing sizes of MAST sections

Open

#1,028 opened on Mar 25, 2026

 (0 comments) (0 reactions) (1 assignee)Rust (70 forks)github user discovery
good first issue

Repository metrics

Stars
 (110 stars)
PR merge metrics
 (Avg merge 4d 7h) (51 merged PRs in 30d)

Description

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 of MAST forest serialization.

Contributor guide