just/fuzz/src/bin/fuzz-compiler.rs

8 lines
141 B
Rust
Raw Normal View History

2018-10-13 03:12:35 -07:00
#![no_main]
use libfuzzer_sys::fuzz_target;
2018-10-13 03:12:35 -07:00
fuzz_target!(|data: &[u8]| {
std::str::from_utf8(data).map(just::fuzzing::compile).ok();
});