mirror of
https://github.com/smoltcp-rs/smoltcp.git
synced 2025-10-02 15:15:05 +00:00
11 lines
204 B
Rust
11 lines
204 B
Rust
#![no_main]
|
|
use libfuzzer_sys::fuzz_target;
|
|
use smoltcp::wire::*;
|
|
|
|
fuzz_target!(|data: &[u8]| {
|
|
format!(
|
|
"{}",
|
|
PrettyPrinter::<EthernetFrame<&'static [u8]>>::new("", &data)
|
|
);
|
|
});
|