From ad79688c5fe096de6fcdb8fbeee2d1b70ad801e9 Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Fri, 21 Feb 2020 01:07:23 +0100 Subject: [PATCH] add env var descriptions for afl-cmin and afl-cmin.bash --- afl-cmin | 5 +++++ afl-cmin.bash | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/afl-cmin b/afl-cmin index 33601f7d..fb588f4d 100755 --- a/afl-cmin +++ b/afl-cmin @@ -115,6 +115,11 @@ function usage() { "\n" \ "For additional tips, please consult docs/README.md\n" \ "\n" \ +"Environment variables used:\n" \ +"AFL_KEEP_TRACES: leave the temporary \.traces directory\n" \ +"AFL_PATH: path for the afl-showmap binary\n" \ +"AFL_SKIP_BIN_CHECK: skip check for target binary\n" \ +"AFL_ALLOW_TMP: allow unsafe use of input/output directories under {/var}/tmp\n" \ > "/dev/stderr" exit 1 } diff --git a/afl-cmin.bash b/afl-cmin.bash index 94c02fda..948e0655 100755 --- a/afl-cmin.bash +++ b/afl-cmin.bash @@ -128,6 +128,11 @@ Minimization settings: For additional tips, please consult docs/README. +Environment variables used: +AFL_KEEP_TRACES: leave the temporary \.traces directory +AFL_PATH: path for the afl-showmap binary +AFL_SKIP_BIN_CHECK: skip check for target binary +AFL_ALLOW_TMP: allow unsafe use of input/output directories under {/var}/tmp _EOF_ exit 1 fi