Fuzzing for the json decoder

Hey it seems like it's working!
This commit is contained in:
John Doty 2024-08-12 09:43:56 -07:00
parent 77cbf1700f
commit e27b788e8f
4 changed files with 1595 additions and 0 deletions

View file

@ -0,0 +1,11 @@
#![no_main]
use libfuzzer_sys::fuzz_target;
extern crate fwd;
use fwd::server::refresh::docker::JsonValue;
fuzz_target!(|data: &[u8]| {
// fuzzed code goes here
let _ = JsonValue::parse(data);
});