Debian Codegraph @

fuzz/src/text_parser.rs

raw
1 pub fn run(s: &str) {
2 let buf = match wast::parser::ParseBuffer::new(s) {
3 Ok(b) => b,
4 Err(_) => return,
5 };
6 drop(wast::parser::parse::<wast::Wast>(&buf));
7 }