From 891b568678848f17e2502758569781f78b4fc0a2 Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Tue, 25 Feb 2020 08:34:44 +0100 Subject: fix references to README docs --- src/afl-analyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/afl-analyze.c') diff --git a/src/afl-analyze.c b/src/afl-analyze.c index 6816f6c8..3b91285c 100644 --- a/src/afl-analyze.c +++ b/src/afl-analyze.c @@ -798,7 +798,7 @@ static void usage(u8* argv0) { " -e - look for edge coverage only, ignore hit counts\n\n" - "For additional tips, please consult %s/README.\n\n", + "For additional tips, please consult %s/README.md.\n\n", argv0, EXEC_TIMEOUT, MEM_LIMIT, doc_path); -- cgit 1.4.1 From 4bd736e1a79ada95ae4266be72c331106e580075 Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Tue, 25 Feb 2020 20:54:08 +0100 Subject: more env info for afl-plot and afl-analyze --- afl-plot | 2 ++ src/afl-analyze.c | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'src/afl-analyze.c') diff --git a/afl-plot b/afl-plot index d99abff0..0f0154a6 100755 --- a/afl-plot +++ b/afl-plot @@ -32,6 +32,8 @@ an empty directory where this tool can write the resulting plots to. The program will put index.html and three PNG images in the output directory; you should be able to view it with any web browser of your choice. +Environment variables used: +AFL_ALLOW_TMP: allow /var/tmp or /tmp for input and output directories _EOF_ exit 1 diff --git a/src/afl-analyze.c b/src/afl-analyze.c index 3b91285c..2f9b0550 100644 --- a/src/afl-analyze.c +++ b/src/afl-analyze.c @@ -798,9 +798,19 @@ static void usage(u8* argv0) { " -e - look for edge coverage only, ignore hit counts\n\n" - "For additional tips, please consult %s/README.md.\n\n", - - argv0, EXEC_TIMEOUT, MEM_LIMIT, doc_path); + "For additional tips, please consult %s/README.md.\n\n" + + "Environment variables used:\n" + "TMPDIR: directory to use for temporary input files\n" + "ASAN_OPTIONS: custom settings for ASAN\n" + " (must contain abort_on_error=1 and symbolize=0)\n" + "MSAN_OPTIONS: custom settings for MSAN\n" + " (must contain exitcode="STRINGIFY(MSAN_ERROR)" and symbolize=0)\n" + "AFL_PRELOAD: LD_PRELOAD settings for target\n" + "AFL_ANALYZE_HEX: print file offsets in hexadecimal instead of decimal\n" + "AFL_SKIP_BIN_CHECK: skip checking the location of and the target\n" + + , argv0, EXEC_TIMEOUT, MEM_LIMIT, doc_path); exit(1); -- cgit 1.4.1