2021-11-13 16:31:11 -06:00
|
|
|
#![no_main]
|
|
|
|
use libfuzzer_sys::fuzz_target;
|
|
|
|
|
|
|
|
use waffle::frontend::wasm_to_ir;
|
|
|
|
use wasm_smith::Module;
|
|
|
|
|
|
|
|
fuzz_target!(|module: Module| {
|
2021-11-13 18:44:53 -06:00
|
|
|
let _ = env_logger::try_init();
|
2021-11-13 16:38:28 -06:00
|
|
|
let _parsed_module = wasm_to_ir(&module.to_bytes()[..]).unwrap();
|
2021-11-13 16:31:11 -06:00
|
|
|
});
|