diff options
author | van Hauser <vh@thc.org> | 2021-03-15 23:15:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-15 23:15:37 +0100 |
commit | 37829765282421d9e3cb9448bceedcb58256e76a (patch) | |
tree | 79c15c7a4f879c90f683a61a8ad878bd19e2a69e /docs/env_variables.md | |
parent | 41788950ccb99e8d2bdc274916ce815bf3d5035c (diff) | |
parent | 23f7bee81c46ad4f0f65fa56d08064ab5f1e2e6f (diff) | |
download | afl++-37829765282421d9e3cb9448bceedcb58256e76a.tar.gz |
Merge pull request #821 from AFLplusplus/stable
3.11c
Diffstat (limited to 'docs/env_variables.md')
-rw-r--r-- | docs/env_variables.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md index f6ed12d0..a20f1e42 100644 --- a/docs/env_variables.md +++ b/docs/env_variables.md @@ -26,6 +26,17 @@ Because (with the exception of the --afl-MODE command line option) the compile-time tools do not accept afl specific command-line options, they make fairly broad use of environmental variables instead: + - Some build/configure scripts break with afl++ compilers. To be able to + pass them, do: +``` + export CC=afl-cc + export CXX=afl-c++ + export AFL_NOOPT=1 + ./configure --disable-shared --disabler-werror + unset AFL_NOOPT + make +``` + - Most afl tools do not print any output if stdout/stderr are redirected. If you want to get the output into a file then set the `AFL_DEBUG` environment variable. |