Files
grin-node/core/fuzz/fuzz_targets/block_read.rs
T
Alexey Miroshkin eb226beea8 Introduce fuzz tests for core (#844)
This PR introduces fuzz tests and address #592
2018-03-22 16:53:47 +00:00

13 lines
257 B
Rust

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