diff options
author | van Hauser <vh@thc.org> | 2021-12-30 10:38:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 10:38:10 +0100 |
commit | cda84594cccf3f6d2d674d4eb99d449d205fa4ab (patch) | |
tree | de891256529cb5143923e1db9da60239b6868a33 /docs/env_variables.md | |
parent | fd9f61a8c5c4df80a313945f323e12749470f88b (diff) | |
parent | 8b75680c7a142bfea0f4147aaa5bef9997b47d6c (diff) | |
download | afl++-cda84594cccf3f6d2d674d4eb99d449d205fa4ab.tar.gz |
Merge pull request #1237 from MegaManSec/dev
Fix LeakSanitizer Usage.
Diffstat (limited to 'docs/env_variables.md')
-rw-r--r-- | docs/env_variables.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md index dc79bf9e..7ab5351c 100644 --- a/docs/env_variables.md +++ b/docs/env_variables.md @@ -105,7 +105,8 @@ fairly broad use of environment variables instead: within your program at a certain point (such as at the end of an `__AFL_LOOP()`), you can run the macro `__AFL_LEAK_CHECK();` which will cause an abort if any memory is leaked (you can combine this with the - `LSAN_OPTIONS=...` suppression option to suppress some known leaks). + `__AFL_LSAN_OFF();` and `__AFL_LSAN_ON();` macros to avoid checking for + memory leaks from memory allocated between these two calls. - `AFL_USE_MSAN=1` - activates the memory sanitizer (uninitialized memory) - `AFL_USE_TSAN=1` - activates the thread sanitizer to find thread race conditions |