wasmer/fuzz/fuzz_targets/simple_instantiate.rs
2019-09-03 15:26:48 -07:00

12 lines
237 B
Rust

#![no_main]
#[macro_use]
extern crate libfuzzer_sys;
extern crate wasmer_runtime;
use wasmer_runtime::{imports, instantiate};
fuzz_target!(|data: &[u8]| {
let import_object = imports! {};
instantiate(data, &import_object);
});