about summary refs log tree commit diff
path: root/docs/env_variables.md
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2021-05-30 12:43:30 +0200
committerhexcoder- <heiko@hexco.de>2021-05-30 12:43:30 +0200
commiteb74a7a8004e8281cda62525bbc1f3bbe7f5d9da (patch)
treea951b63f4f038805fdf39eb6d8f4c70dc8e82f28 /docs/env_variables.md
parentc9539aa6b7fb4b9d2dae6c65446c525375388c2f (diff)
downloadafl++-eb74a7a8004e8281cda62525bbc1f3bbe7f5d9da.tar.gz
add documentation for AFL_LLVM_THREADSAFE_INST
Diffstat (limited to 'docs/env_variables.md')
-rw-r--r--docs/env_variables.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md
index 0100ffac..d9a774aa 100644
--- a/docs/env_variables.md
+++ b/docs/env_variables.md
@@ -231,6 +231,11 @@ Then there are a few specific features that are only available in instrumentatio
 
   See [instrumentation/README.instrument_list.md](../instrumentation/README.instrument_list.md) for more information.
 
+### Thread safe instrumentation counters (in mode LLVM CLASSIC)
+   - Setting `AFL_LLVM_THREADSAFE_INST` will inject code that implements thread safe counters.
+     The overhead is a bit higher compared to the older non-thread safe case. 
+     `AFL_LLVM_NOT_ZERO` and `AFL_LLVM_SKIP_NEVERZERO` are supported (see below). 
+
 ### NOT_ZERO
 
    - Setting `AFL_LLVM_NOT_ZERO=1` during compilation will use counters