Skip to content

wasm2wat doesn't validate input by default #12

Description

@pepyakin

By default wasm2wat only checks whether input module is malformed (i.e. incorrect size of a section, unexpected magic number or reserved byte isn't equal to 0), but doesn't validate a module (i.e. if module does an addition of i32 and f32 it is well formed module but not valid).

I think it is good to validate an input by default.
Users can opt-out with Wasm2Wat struct if they don't want to validate module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions