From 04e93d9e3bd26f8e52f4ff6f9b4463802a8be9ab Mon Sep 17 00:00:00 2001 From: van Hauser Date: Thu, 20 Feb 2020 12:54:24 +0100 Subject: add AFL_DEBUG to docs/env --- docs/env_variables.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') 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 -- cgit 1.4.1