Files
grin-node/p2p/fuzz/fuzz_targets/read_tx_hashset_request.rs
T
hashmap 109a426990 Add fuzz tests for p2p crate (#1931)
Add fuzz tests for p2p crate
2018-11-05 21:50:16 +01:00

14 lines
293 B
Rust

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