mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-12 13:55:33 +00:00
12 lines
237 B
Rust
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);
|
|
});
|