wasmer/fuzz/fuzz_targets/simple_instantiate.rs
2019-07-31 21:02:20 -07:00

14 lines
248 B
Rust

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