1 #![no_main] 2 #[macro_use] extern crate libfuzzer_sys; 3 use shlex::Shlex; 4 5 fuzz_target!(|data: &[u8]| { 6 if let Ok(s) = std::str::from_utf8(data) { 7 let mut sh = Shlex::new(s); 8 while let Some(word) = sh.next() {} 9 } 10 }); 11