diff options
author | van Hauser <vh@thc.org> | 2021-03-19 23:55:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-19 23:55:32 +0100 |
commit | bc0ff559f50ed73d1af904c4110bc149cd8eba91 (patch) | |
tree | 03c3314427f02533a8db3e06587ce3afe74a5f23 /docs/env_variables.md | |
parent | 749b03d812b76746b4a673f34a13fb0b067fd61d (diff) | |
parent | 090128b3f8b8bc80cf47ae1481b01c0509dc6357 (diff) | |
download | afl++-bc0ff559f50ed73d1af904c4110bc149cd8eba91.tar.gz |
Merge pull request #824 from fuzzah/dev
add AFL_TARGET_ENV to afl-fuzz
Diffstat (limited to 'docs/env_variables.md')
-rw-r--r-- | docs/env_variables.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md index c6ad0aa4..96fd520f 100644 --- a/docs/env_variables.md +++ b/docs/env_variables.md @@ -408,6 +408,12 @@ checks or alter some of the more exotic semantics of the tool: without disrupting the afl-fuzz process itself. This is useful, among other things, for bootstrapping libdislocator.so. + - Setting `AFL_TARGET_ENV` causes AFL++ to set extra environment variables + for the target binary. Example: `AFL_TARGET_ENV="VAR1=1 VAR2='a b c'" afl-fuzz ... ` + This exists mostly for things like `LD_LIBRARY_PATH` but it would theoretically + allow fuzzing of AFL++ itself (with 'target' AFL++ using some AFL_ vars that + would disrupt work of 'fuzzer' AFL++). + - Setting `AFL_NO_UI` inhibits the UI altogether, and just periodically prints some basic stats. This behavior is also automatically triggered when the output from afl-fuzz is redirected to a file or to a pipe. |