#![no_main] //! Fuzz the known_hosts parser and the host-public-key line parser. None may //! panic on arbitrary input. use libfuzzer_sys::fuzz_target; use dosh::native::{parse_host_public_key_line, parse_known_hosts}; fuzz_target!(|data: &[u8]| { if let Ok(text) = std::str::from_utf8(data) { let _ = parse_known_hosts(text); let _ = parse_host_public_key_line(text); } });