2018-01-24 18:32:46 +00:00
|
|
|
#![no_main]
|
2018-02-05 14:36:53 +00:00
|
|
|
#[macro_use]
|
|
|
|
extern crate libfuzzer_sys;
|
|
|
|
extern crate wasmi;
|
2018-01-24 18:32:46 +00:00
|
|
|
|
|
|
|
fuzz_target!(|data: &[u8]| {
|
2018-02-15 17:34:56 +00:00
|
|
|
// Just check if loading some arbitrary buffer doesn't panic.
|
|
|
|
let _ = wasmi::Module::from_buffer(data);
|
2018-01-24 18:32:46 +00:00
|
|
|
});
|