about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-02-20 12:54:24 +0100
committervan Hauser <vh@thc.org>2020-02-20 12:54:24 +0100
commit04e93d9e3bd26f8e52f4ff6f9b4463802a8be9ab (patch)
treee618ef3dd0d075b4eef2703c5d320ab92941629f
parent76e0381db80587c1f46626d131f5c5467775d053 (diff)
downloadafl++-04e93d9e3bd26f8e52f4ff6f9b4463802a8be9ab.tar.gz
add AFL_DEBUG to docs/env
-rw-r--r--docs/env_variables.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md
index f2642e56..c60821dc 100644
--- a/docs/env_variables.md
+++ b/docs/env_variables.md
@@ -10,6 +10,11 @@
 Because they can't directly accept command-line options, the compile-time
 tools make fairly broad use of environmental variables:
 
+  - Most afl tools do not print any ouput if stout/stderr are redirected.
+    If you want to have the output into a file then set the AFL_DEBUG
+    environment variable.
+    This is sadly necessary for various build processes which fail otherwise.
+
   - Setting AFL_HARDEN automatically adds code hardening options when invoking
     the downstream compiler. This currently includes -D_FORTIFY_SOURCE=2 and
     -fstack-protector-all. The setting is useful for catching non-crashing