packet_parser.rs 217 B

12345678
  1. #![no_main]
  2. #[macro_use] extern crate libfuzzer_sys;
  3. extern crate smoltcp;
  4. fuzz_target!(|data: &[u8]| {
  5. use smoltcp::wire::*;
  6. format!("{}", PrettyPrinter::<EthernetFrame<&'static [u8]>>::new("", &data));
  7. });