diff options
author | van Hauser <vh@thc.org> | 2021-07-19 10:54:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 10:54:12 +0200 |
commit | 815161827689c339d335233b7b232ac9b120b79b (patch) | |
tree | 4e686574ccf1f47cea79fc24514c8455e3a1fbc1 /utils/aflpp_driver/aflpp_driver.c | |
parent | 9321a24e682b5c8bf6278961bd014cb883b87295 (diff) | |
parent | cc57cc5f463e9b79980c2087d19b4a1e1360ec52 (diff) | |
download | afl++-815161827689c339d335233b7b232ac9b120b79b.tar.gz |
Merge branch 'release' into stable
Diffstat (limited to 'utils/aflpp_driver/aflpp_driver.c')
-rw-r--r-- | utils/aflpp_driver/aflpp_driver.c | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/utils/aflpp_driver/aflpp_driver.c b/utils/aflpp_driver/aflpp_driver.c index ff42f3b9..c094c425 100644 --- a/utils/aflpp_driver/aflpp_driver.c +++ b/utils/aflpp_driver/aflpp_driver.c @@ -204,23 +204,21 @@ static int ExecuteFilesOnyByOne(int argc, char **argv) { int main(int argc, char **argv) { - if (argc < 2 || strncmp(argv[1], "-h", 2) == 0) - printf( - "============================== INFO ================================\n" - "This binary is built for afl++.\n" - "To use with afl-cmin or afl-cmin.bash pass '-' as single command line " - "option\n" - "To run the target function on individual input(s) execute this:\n" - " %s INPUT_FILE1 [INPUT_FILE2 ... ]\n" - "To fuzz with afl-fuzz execute this:\n" - " afl-fuzz [afl-flags] -- %s [-N]\n" - "afl-fuzz will run N iterations before re-spawning the process " - "(default: " - "INT_MAX)\n" - "For stdin input processing, pass '-' as single command line option.\n" - "For file input processing, pass '@@' as single command line option.\n" - "===================================================================\n", - argv[0], argv[0]); + printf( + "============================== INFO ================================\n" + "This binary is built for afl++.\n" + "To use with afl-cmin or afl-cmin.bash pass '-' as single command line " + "option\n" + "To run the target function on individual input(s) execute this:\n" + " %s INPUT_FILE1 [INPUT_FILE2 ... ]\n" + "To fuzz with afl-fuzz execute this:\n" + " afl-fuzz [afl-flags] -- %s [-N]\n" + "afl-fuzz will run N iterations before re-spawning the process (default: " + "INT_MAX)\n" + "For stdin input processing, pass '-' as single command line option.\n" + "For file input processing, pass '@@' as single command line option.\n" + "===================================================================\n", + argv[0], argv[0]); if (getenv("AFL_GDB")) { |