You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
337 B
12 lines
337 B
#![no_main]
|
|
|
|
use libfuzzer_sys::fuzz_target;
|
|
use wasmtime::{Engine, Module};
|
|
use wasmtime_fuzzing::wasm_smith::MaybeInvalidModule;
|
|
|
|
fuzz_target!(|module: MaybeInvalidModule| {
|
|
let engine = Engine::default();
|
|
let wasm = module.to_bytes();
|
|
wasmtime_fuzzing::oracles::log_wasm(&wasm);
|
|
drop(Module::new(&engine, &wasm));
|
|
});
|
|
|