See also its sibling at https://github.com/wasdk/wasmparser
```rust use wasmparser::WasmDecoder; use wasmparser::Parser; use wasmparser::ParserState;
fn getname(bytes: &[u8]) -> &str { str::fromutf8(bytes).ok().unwrap() }
fn main() {
let ref buf: Vec
To fuzz test wasmparser.rs, switch to a nightly Rust compiler and install [cargo-fuzz]:
cargo install cargo-fuzz
Then, from the root of the repository, run:
cargo fuzz run parse
If you want to use files as seeds for the fuzzer, add them to fuzz/corpus/parse/
and restart cargo-fuzz.