0xMiden / 0xMiden/compiler

feat(objtool): enable analyzing sizes of MAST sections

Ouverte
#1,028 0 commentaires 0 réactions 1 personne assignée Réclamée par @mooori Voir sur GitHub
good first issue
Langage dominant
Rust
Étoiles
115
Forks
84
Merge moyen
1 j 8 h
PR mergées (30 j)
15

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](https://github.com/0xMiden/miden-vm/pull/2765) of MAST forest serialization.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

The issue depends on a refactor of MAST forest serialization in the miden-vm repository. Start by examining the `objtool` command structure and the MAST package format. Look for existing size analysis or serialization code. The output format (JSON/TOML) needs to be integrated into the CLI. Check the linked PR #2765 to understand the serialization changes.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
rust
Domaine
cli, tooling
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.