Fix debug_child arg in forkserver_simple example (#489)
The `debug_child` command line argument presence was not properly checked, so it couldn't be set to true. Hence it was not possible to print out the content of the buffer sent to the harness while fuzzing.
This commit is contained in:
parent
68ab473c85
commit
14959c7f9c
@ -137,7 +137,7 @@ pub fn main() {
|
||||
let mut fuzzer = StdFuzzer::new(scheduler, feedback, objective);
|
||||
|
||||
// If we should debug the child
|
||||
let debug_child = res.value_of("debug_child").is_some();
|
||||
let debug_child = res.is_present("debug_child");
|
||||
|
||||
// Create the executor for the forkserver
|
||||
let args = match res.values_of("arguments") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user