waffle/fuzz/fuzz_targets/parse_ir.rs
Chris Fallin eab9e60338 Cleanup
2021-11-13 17:53:46 -08:00

10 lines
233 B
Rust

#![no_main]
use libfuzzer_sys::fuzz_target;
use waffle::Module;
fuzz_target!(|module: wasm_smith::Module| {
let _ = env_logger::try_init();
let _parsed_module = Module::from_wasm_bytes(&module.to_bytes()[..]).unwrap();
});