waffle/fuzz/fuzz_targets/parse_ir.rs

10 lines
210 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| {
2021-11-13 16:38:28 -06:00
let _parsed_module = wasm_to_ir(&module.to_bytes()[..]).unwrap();
});