mirror of
https://github.com/ZeusWPI/ZNS.git
synced 2024-10-30 05:24:26 +01:00
14 lines
247 B
Rust
14 lines
247 B
Rust
#![no_main]
|
|
|
|
use libfuzzer_sys::fuzz_target;
|
|
use zns::{
|
|
parser::{FromBytes},
|
|
reader::Reader,
|
|
structs::Message,
|
|
};
|
|
|
|
fuzz_target!(|data: &[u8]| {
|
|
let mut reader = Reader::new(data);
|
|
let _ = Message::from_bytes(&mut reader);
|
|
});
|
|
|