aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-04-25 08:21:42 +0200
committerGitHub <noreply@github.com>2023-04-25 08:21:42 +0200
commitb66d7f99a790af6f25f815a9d8780c26c63e7686 (patch)
tree5aa9ace34c056b3acbc27c15a2d6a25c5ab82e66 /docs
parent46237c33322bbe92d35436718b37062f5c1a8cb6 (diff)
parent7c3c0b26d1ae477fbae6944c0de18256621e1993 (diff)
downloadafl++-b66d7f99a790af6f25f815a9d8780c26c63e7686.tar.gz
Merge pull request #1713 from kenohassler/wafl-mode
llvm-lto: allow skipping initialisation
Diffstat (limited to 'docs')
-rw-r--r--docs/env_variables.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md
index c5995d13..087ccdb7 100644
--- a/docs/env_variables.md
+++ b/docs/env_variables.md
@@ -156,7 +156,7 @@ Available options:
- LTO - LTO instrumentation
- NATIVE - clang's original pcguard based instrumentation
- NGRAM-x - deeper previous location coverage (from NGRAM-2 up to NGRAM-16)
- - PCGUARD - our own pcgard based instrumentation (default)
+ - PCGUARD - our own pcguard based instrumentation (default)
#### CMPLOG
@@ -240,7 +240,9 @@ combined.
the default `0x10000`. A value of 0 or empty sets the map address to be
dynamic (the original AFL way, which is slower).
- `AFL_LLVM_MAP_DYNAMIC` sets the shared memory address to be dynamic.
-
+ - `AFL_LLVM_LTO_SKIPINIT` skips adding initialization code. Some global vars
+ (e.g. the highest location ID) are not injected. Needed to instrument with
+ [WAFL](https://github.com/fgsect/WAFL.git).
For more information, see
[instrumentation/README.lto.md](../instrumentation/README.lto.md).