bytecodealliance / bytecodealliance/wasm-tools
wasmparser accepts some malformed modules
Open
- 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
Assessment
This issue has not been assessed yet.