Fuzzing for the json decoder
Hey it seems like it's working!
This commit is contained in:
parent
77cbf1700f
commit
e27b788e8f
4 changed files with 1595 additions and 0 deletions
11
fuzz/fuzz_targets/fuzz_target_1.rs
Normal file
11
fuzz/fuzz_targets/fuzz_target_1.rs
Normal 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);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue