This is a fuzzer for the slang parser. It currently only tests that the parsed syntax tree is equivalent to its input when "unparsed" to a string aka roundtrip property, but it also finds inputs that cause the parser to panic.
./init_corpus.sh # download Solidity files to seed the corpus
cargo fuzz run roundtrip_parse
To get started with cargo fuzz, see cargo-fuzz.