diff options
author | van Hauser <vh@thc.org> | 2022-04-03 09:30:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-03 09:30:23 +0200 |
commit | 881aef21fd6ca3f3bcf0847587d4d6d86f3a69db (patch) | |
tree | d076384dedf423a4bb7c3d1507cb07281ebc2865 /docs/env_variables.md | |
parent | 1d4f1e48797c064ee71441ba555b29fc3f467983 (diff) | |
parent | c4363dd8b3d19a3e4bab8bc1fca1708ae2ff7899 (diff) | |
download | afl++-881aef21fd6ca3f3bcf0847587d4d6d86f3a69db.tar.gz |
Merge pull request #1362 from AFLplusplus/dev
push to stable
Diffstat (limited to 'docs/env_variables.md')
-rw-r--r-- | docs/env_variables.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md index 4626a9b6..edd57fb6 100644 --- a/docs/env_variables.md +++ b/docs/env_variables.md @@ -518,7 +518,12 @@ checks or alter some of the more exotic semantics of the tool: 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++). + AFL_ vars that would disrupt work of 'fuzzer' AFL++). Note that when using + QEMU mode, the `AFL_TARGET_ENV` environment variables will apply to QEMU, as + well as the target binary. Therefore, in this case, you might want to use + QEMU's `QEMU_SET_ENV` environment variable (see QEMU's documentation because + the format is different from `AFL_TARGET_ENV`) to apply the environment + variables to the target and not QEMU. - `AFL_TESTCACHE_SIZE` allows you to override the size of `#define TESTCASE_CACHE` in config.h. Recommended values are 50-250MB - or more if |