about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorhexcoder <hexcoder-@users.noreply.github.com>2021-05-31 20:06:35 +0200
committerGitHub <noreply@github.com>2021-05-31 20:06:35 +0200
commit21c8b225719835d8e4fecdb8bd6f42e61ea0600b (patch)
tree46e844356f7cf88c08f9f9907caa11656a24f416 /docs
parent1a2da67ed0505c9ac0aa1048ba3d607f3c1aa639 (diff)
parent97a1f89881878db9bd6b4cd666b3447a63818dcf (diff)
downloadafl++-21c8b225719835d8e4fecdb8bd6f42e61ea0600b.tar.gz
Merge pull request #948 from AFLplusplus/going_atomic
Going atomic
Diffstat (limited to 'docs')
-rw-r--r--docs/Changelog.md1
-rw-r--r--docs/env_variables.md5
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/Changelog.md b/docs/Changelog.md
index 298a3998..d8ffe498 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -58,6 +58,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
     MacOS shared memory
   - updated the grammar custom mutator to the newest version
   - add -d (add dead fuzzer stats) to afl-whatsup
+  - add thread safe counters for LLVM CLASSIC (set AFL_LLVM_THREADSAFE_INST)
   - added AFL_PRINT_FILENAMES to afl-showmap/cmin to print the
     current filename
   - afl-showmap/cmin will now process queue items in alphabetical order
diff --git a/docs/env_variables.md b/docs/env_variables.md
index 7bbc0fdd..b4b866ab 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