diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-analyze.c | 8 | ||||
-rw-r--r-- | src/afl-as.c | 8 |
2 files changed, 9 insertions, 7 deletions
diff --git a/src/afl-analyze.c b/src/afl-analyze.c index 2f9b0550..4b0b1a6a 100644 --- a/src/afl-analyze.c +++ b/src/afl-analyze.c @@ -780,11 +780,11 @@ static void usage(u8* argv0) { SAYF( "\n%s [ options ] -- /path/to/target_app [ ... ]\n\n" - "Required parameters:\n\n" + "Required parameters:\n" - " -i file - input test case to be analyzed by the tool\n" + " -i file - input test case to be analyzed by the tool\n\n" - "Execution control settings:\n\n" + "Execution control settings:\n" " -f file - input file read by the tested program (stdin)\n" " -t msec - timeout for each run (%d ms)\n" @@ -794,7 +794,7 @@ static void usage(u8* argv0) { " -W - use qemu-based instrumentation with Wine (Wine " "mode)\n\n" - "Analysis settings:\n\n" + "Analysis settings:\n" " -e - look for edge coverage only, ignore hit counts\n\n" diff --git a/src/afl-as.c b/src/afl-as.c index 98bd3ff5..914848df 100644 --- a/src/afl-as.c +++ b/src/afl-as.c @@ -520,8 +520,9 @@ int main(int argc, char** argv) { if (argc < 2 || (argc == 2 && strcmp(argv[1], "-h") == 0)) { - SAYF( - "\n" + fprintf(stdout, + "afl-as" VERSION " by Michal Zalewski\n" + "\n%s [-h]\n\n" "This is a helper application for afl-fuzz. It is a wrapper around GNU " "'as',\n" "executed by the toolchain whenever using afl-gcc or afl-clang. You " @@ -545,7 +546,8 @@ int main(int argc, char** argv) { "AFL_KEEP_ASSEMBLY: leave instrumented assembly files\n" "AFL_AS_FORCE_INSTRUMENT: force instrumentation for asm sources\n" "AFL_HARDEN, AFL_USE_ASAN, AFL_USE_MSAN, AFL_USE_UBSAN:\n" - " used in the instrumentation summary message\n"); + " used in the instrumentation summary message\n" + ,argv[0]); exit(1); |