Fix forkserver_simple clap issue (#412)
This commit is contained in:
parent
3fbe1be189
commit
a96e01fda5
@ -32,25 +32,26 @@ pub fn main() {
|
|||||||
.about("Example Forkserver fuzer")
|
.about("Example Forkserver fuzer")
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("executable")
|
Arg::new("executable")
|
||||||
.about("The instrumented binary we want to fuzz")
|
.help("The instrumented binary we want to fuzz")
|
||||||
.required(true)
|
.required(true)
|
||||||
.takes_value(true),
|
.takes_value(true),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("in")
|
Arg::new("in")
|
||||||
.about("The directory to read initial inputs from ('seeds')")
|
.help("The directory to read initial inputs from ('seeds')")
|
||||||
.required(true)
|
.required(true)
|
||||||
.takes_value(true),
|
.takes_value(true),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("timeout")
|
Arg::new("timeout")
|
||||||
.about("Timeout for each individual execution, in milliseconds")
|
.help("Timeout for each individual execution, in milliseconds")
|
||||||
.short('t')
|
.short('t')
|
||||||
.long("timeout")
|
.long("timeout")
|
||||||
.default_value("1200"),
|
.default_value("1200"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("arguments")
|
Arg::new("arguments")
|
||||||
|
.help("Arguments passed to the target")
|
||||||
.setting(clap::ArgSettings::MultipleValues)
|
.setting(clap::ArgSettings::MultipleValues)
|
||||||
.takes_value(true),
|
.takes_value(true),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user