Clap: use help instead of about (#417)
This commit is contained in:
parent
a96e01fda5
commit
4aa6550bf2
@ -64,14 +64,14 @@ pub fn libafl_main() {
|
|||||||
.about("LibAFL-based fuzzer for Fuzzbench")
|
.about("LibAFL-based fuzzer for Fuzzbench")
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("out")
|
Arg::new("out")
|
||||||
.about("The directory to place finds in ('corpus')")
|
.help("The directory to place finds in ('corpus')")
|
||||||
.required(true)
|
.required(true)
|
||||||
.index(1)
|
.index(1)
|
||||||
.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)
|
||||||
.index(2)
|
.index(2)
|
||||||
.takes_value(true),
|
.takes_value(true),
|
||||||
@ -80,21 +80,21 @@ pub fn libafl_main() {
|
|||||||
Arg::new("tokens")
|
Arg::new("tokens")
|
||||||
.short('x')
|
.short('x')
|
||||||
.long("tokens")
|
.long("tokens")
|
||||||
.about("A file to read tokens from, to be used during fuzzing")
|
.help("A file to read tokens from, to be used during fuzzing")
|
||||||
.takes_value(true),
|
.takes_value(true),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("logfile")
|
Arg::new("logfile")
|
||||||
.short('l')
|
.short('l')
|
||||||
.long("logfile")
|
.long("logfile")
|
||||||
.about("Duplicates all output to this file")
|
.help("Duplicates all output to this file")
|
||||||
.default_value("libafl.log"),
|
.default_value("libafl.log"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("timeout")
|
Arg::new("timeout")
|
||||||
.short('t')
|
.short('t')
|
||||||
.long("timeout")
|
.long("timeout")
|
||||||
.about("Timeout for each individual execution, in milliseconds")
|
.help("Timeout for each individual execution, in milliseconds")
|
||||||
.default_value("1200"),
|
.default_value("1200"),
|
||||||
)
|
)
|
||||||
.try_get_matches()
|
.try_get_matches()
|
||||||
|
@ -63,14 +63,14 @@ pub fn libafl_main() {
|
|||||||
.about("LibAFL-based fuzzer for Fuzzbench")
|
.about("LibAFL-based fuzzer for Fuzzbench")
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("out")
|
Arg::new("out")
|
||||||
.about("The directory to place finds in ('corpus')")
|
.help("The directory to place finds in ('corpus')")
|
||||||
.required(true)
|
.required(true)
|
||||||
.index(1)
|
.index(1)
|
||||||
.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)
|
||||||
.index(2)
|
.index(2)
|
||||||
.takes_value(true),
|
.takes_value(true),
|
||||||
@ -79,21 +79,21 @@ pub fn libafl_main() {
|
|||||||
Arg::new("tokens")
|
Arg::new("tokens")
|
||||||
.short('x')
|
.short('x')
|
||||||
.long("tokens")
|
.long("tokens")
|
||||||
.about("A file to read tokens from, to be used during fuzzing")
|
.help("A file to read tokens from, to be used during fuzzing")
|
||||||
.takes_value(true),
|
.takes_value(true),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("logfile")
|
Arg::new("logfile")
|
||||||
.short('l')
|
.short('l')
|
||||||
.long("logfile")
|
.long("logfile")
|
||||||
.about("Duplicates all output to this file")
|
.help("Duplicates all output to this file")
|
||||||
.default_value("libafl.log"),
|
.default_value("libafl.log"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("timeout")
|
Arg::new("timeout")
|
||||||
.short('t')
|
.short('t')
|
||||||
.long("timeout")
|
.long("timeout")
|
||||||
.about("Timeout for each individual execution, in milliseconds")
|
.help("Timeout for each individual execution, in milliseconds")
|
||||||
.default_value("1200"),
|
.default_value("1200"),
|
||||||
)
|
)
|
||||||
.try_get_matches()
|
.try_get_matches()
|
||||||
|
@ -67,14 +67,14 @@ pub fn main() {
|
|||||||
.about("LibAFL-based fuzzer with QEMU for Fuzzbench")
|
.about("LibAFL-based fuzzer with QEMU for Fuzzbench")
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("out")
|
Arg::new("out")
|
||||||
.about("The directory to place finds in ('corpus')")
|
.help("The directory to place finds in ('corpus')")
|
||||||
.long("libafl-out")
|
.long("libafl-out")
|
||||||
.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')")
|
||||||
.long("libafl-in")
|
.long("libafl-in")
|
||||||
.required(true)
|
.required(true)
|
||||||
.takes_value(true),
|
.takes_value(true),
|
||||||
@ -82,19 +82,19 @@ pub fn main() {
|
|||||||
.arg(
|
.arg(
|
||||||
Arg::new("tokens")
|
Arg::new("tokens")
|
||||||
.long("libafl-tokens")
|
.long("libafl-tokens")
|
||||||
.about("A file to read tokens from, to be used during fuzzing")
|
.help("A file to read tokens from, to be used during fuzzing")
|
||||||
.takes_value(true),
|
.takes_value(true),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("logfile")
|
Arg::new("logfile")
|
||||||
.long("libafl-logfile")
|
.long("libafl-logfile")
|
||||||
.about("Duplicates all output to this file")
|
.help("Duplicates all output to this file")
|
||||||
.default_value("libafl.log"),
|
.default_value("libafl.log"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("timeout")
|
Arg::new("timeout")
|
||||||
.long("libafl-timeout")
|
.long("libafl-timeout")
|
||||||
.about("Timeout for each individual execution, in milliseconds")
|
.help("Timeout for each individual execution, in milliseconds")
|
||||||
.default_value("1000"),
|
.default_value("1000"),
|
||||||
)
|
)
|
||||||
.try_get_matches_from(filter_qemu_args())
|
.try_get_matches_from(filter_qemu_args())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user