waffle/fuzz/fuzz_targets/parse_ir.rs

10 lines
205 B
Rust
Raw Normal View History

#![no_main]
use libfuzzer_sys::fuzz_target;
use waffle::frontend::wasm_to_ir;
use wasm_smith::Module;
fuzz_target!(|module: Module| {
let _parsed_module = wasm_to_ir(module.to_bytes()).unwrap();
});