Skip to content

Commit

Permalink
Rename fuzz target to something more meaningful
Browse files Browse the repository at this point in the history
  • Loading branch information
DeCarabas committed Aug 12, 2024
1 parent 542127f commit 43f6b75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ libfuzzer-sys = "0.4"
path = ".."

[[bin]]
name = "fuzz_target_1"
path = "fuzz_targets/fuzz_target_1.rs"
name = "json_raw_input"
path = "fuzz_targets/json_raw_input.rs"
test = false
doc = false
bench = false
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ extern crate fwd;
use fwd::server::refresh::docker::JsonValue;

fuzz_target!(|data: &[u8]| {
// fuzzed code goes here
let _ = JsonValue::parse(data);
});

0 comments on commit 43f6b75

Please sign in to comment.