bytecodealliance / bytecodealliance/wasm-tools

wasmparser accepts some malformed modules

Open
#1,671 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.8k
Forks
351
Avg merge
16h 57m
Merged PRs (30d)
38

Description

In the legacy-exceptions proposal, this module is malformed:

```wasm
(func catch_all)
```

but wasmparser accepts it. This prevents passing some of the `assert_malformed` tests in the legacy-exceptions tests. (The resulting modules do fail validation.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.