From 87f127722c5dd9d503c9b9acab9aceb0fd573da5 Mon Sep 17 00:00:00 2001 From: aflpp Date: Mon, 22 Jun 2020 08:28:41 +0200 Subject: fix afl-cmin.bash --- afl-cmin.bash | 2 +- docs/Changelog.md | 1 + src/afl-showmap.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/afl-cmin.bash b/afl-cmin.bash index bdef1edc..3e29aa5c 100755 --- a/afl-cmin.bash +++ b/afl-cmin.bash @@ -245,7 +245,7 @@ if [ ! "$STDIN_FILE" = "" ]; then fi if [ "$AFL_PATH" = "" ]; then - SHOWMAP="${0%/afl-cmin}/afl-showmap" + SHOWMAP="${0%/afl-cmin.bash}/afl-showmap" else SHOWMAP="$AFL_PATH/afl-showmap" fi diff --git a/docs/Changelog.md b/docs/Changelog.md index bc91f2ee..ce6c9ed5 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -48,6 +48,7 @@ sending a mail to . - persistent mode shared memory testcase handover (instead of via files/stdin) - 10-100% performance increase - General support for 64 bit PowerPC, RiscV, Sparc etc. + - fix afl-cmin.bash - slightly better performance compilation options for afl++ and targets - fixed afl-gcc/afl-as that could break on fast systems reusing pids in the same second diff --git a/src/afl-showmap.c b/src/afl-showmap.c index 7b46cd2b..6a26a949 100644 --- a/src/afl-showmap.c +++ b/src/afl-showmap.c @@ -559,7 +559,7 @@ static void usage(u8 *argv0) { "size\n" " the target was compiled for\n" "AFL_PRELOAD: LD_PRELOAD / DYLD_INSERT_LIBRARIES settings for target\n" - "AFL_QUIET: do not print extra informational output", + "AFL_QUIET: do not print extra informational output\n", argv0, MEM_LIMIT, doc_path); exit(1); -- cgit 1.4.1