Skip to content

Proposal: Make jump_table Optional in LegacyAnalyzedBytecode #2853

@mlyknown

Description

@mlyknown

I would like to make the jumptable constructible from static data, which can significantly reduce memory usage—especially when running in a zkVM environment.

To support this, I propose that the jump_table field in LegacyAnalyzedBytecode be made optional (Option<...>). This would allow users to provide their own jump check implementation if needed. Alternatively, if you have any suggestions for a better solution, I am open to feedback.

If this change is acceptable, I am happy to submit a pull request implementing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions