Files
grin-node/core/fuzz/fuzz_targets/block_read.rs
T
hashmap 16487a3eb7 [1.1.0] Bring fuzz test back (#2675)
Corpus generation was updated and simplified, plus small updates
2019-03-15 15:32:14 +01:00

13 lines
250 B
Rust

#![no_main]
extern crate grin_core;
#[macro_use]
extern crate libfuzzer_sys;
use grin_core::core::Block;
use grin_core::ser;
fuzz_target!(|data: &[u8]| {
let mut d = data.clone();
let _t: Result<Block, ser::Error> = ser::deserialize(&mut d);
});