Skip to content

Commit

Permalink
Fix ziggy run output
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-valerio committed Oct 2, 2024
1 parent 2289e22 commit 02463bd
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/cli/ziggy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,11 @@ impl ZiggyConfig {
.env(AflDebug.to_string(), self.afl_debug())
.stdout(Stdio::piped());

match ziggy_command {
ZiggyCommand::Run => {
command_builder.args(vec![
"--inputs",
self.to_owned().instrumented_path().to_str().unwrap(),
]);
}
_ => {}
if ziggy_command == ZiggyCommand::Run {
command_builder.args(vec![
"--inputs",
self.to_owned().fuzz_output().to_str().unwrap(),
]);
}

self.with_allowlist(command_builder)
Expand Down

0 comments on commit 02463bd

Please sign in to comment.