mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-15 07:05:41 +00:00
14 lines
248 B
Rust
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);
|
||
|
});
|