2021-11-13 16:31:11 -06:00
|
|
|
#![no_main]
|
|
|
|
use libfuzzer_sys::fuzz_target;
|
|
|
|
|
2023-02-16 18:20:54 -06:00
|
|
|
use waffle::{FrontendOptions, Module};
|
2021-11-13 16:31:11 -06:00
|
|
|
|
2021-11-13 19:52:30 -06:00
|
|
|
fuzz_target!(|module: wasm_smith::Module| {
|
2021-11-13 18:44:53 -06:00
|
|
|
let _ = env_logger::try_init();
|
2023-02-16 18:20:54 -06:00
|
|
|
let _parsed_module =
|
|
|
|
Module::from_wasm_bytes(&module.to_bytes()[..], &FrontendOptions::default()).unwrap();
|
2021-11-13 16:31:11 -06:00
|
|
|
});
|