aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-02-16 22:34:51 +0100
committerhexcoder- <heiko@hexco.de>2020-02-16 22:34:51 +0100
commitd41f4130168629ec01f420b79fce42f4f0c11961 (patch)
tree817b8db4180dd0f6ab7f20ec454fc11c20bee88d
parent0ad698ffbf221538976074299179bba675317879 (diff)
downloadafl++-d41f4130168629ec01f420b79fce42f4f0c11961.tar.gz
add description of environment variables used
-rw-r--r--src/afl-as.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/afl-as.c b/src/afl-as.c
index 966a36bb..6ca233ad 100644
--- a/src/afl-as.c
+++ b/src/afl-as.c
@@ -532,7 +532,21 @@ int main(int argc, char** argv) {
"advisable to\n"
"set AFL_INST_RATIO to a value less than 100 in order to reduce the "
"odds of\n"
- "instrumenting every discovered branch.\n\n");
+ "instrumenting every discovered branch.\n\n"
+ "Environment variables used:\n"
+ "AFL_AS: path to assembler to use for instrumented files\n"
+ "AFL_CC: fall back path to assembler\n"
+ "AFL_CXX: fall back path to assembler\n"
+ "TMPDIR: directory to use for temporary files\n"
+ "TEMP: fall back path to directory for temporary files\n"
+ "TMP: fall back path to directory for temporary files\n"
+ "AFL_INST_RATIO: user specified instrumentation ratio\n"
+ "AFL_QUIET: suppress verbose output\n"
+ "AFL_KEEP_ASSEMBLY: leave instrumented assembly files\n"
+ "AFL_AS_FORCE_INSTRUMENT: force instrumentation\n"
+ "AFL_HARDEN, AFL_USE_ASAN, AFL_USE_MSAN, ALF_USE_UBSAN:\n"
+ " used in the instrumentation summary message\n"
+ );
exit(1);