diff options
author | Joshua Rogers <jrogers@opera.com> | 2021-04-02 22:32:38 +0000 |
---|---|---|
committer | Joshua Rogers <jrogers@opera.com> | 2021-04-02 22:32:38 +0000 |
commit | 6514e33ab6733dd4e7ae0d3eeec83db06b3f451f (patch) | |
tree | 029c34f4557e59d01858035100fc4d8616af1fc5 /docs/notes_for_asan.md | |
parent | 920e9402a4d6101bbbed2ef7584d85a3c3de0eaa (diff) | |
download | afl++-6514e33ab6733dd4e7ae0d3eeec83db06b3f451f.tar.gz |
Replace __AFL_CHECK_LEAK with __AFL_LEAK_CHECK to be more proper.
Fix spelling mistakes. Correctly call LSAN_ERROR not MSAN_ERROR.
Diffstat (limited to 'docs/notes_for_asan.md')
-rw-r--r-- | docs/notes_for_asan.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/notes_for_asan.md b/docs/notes_for_asan.md index 26f34fad..f55aeaf2 100644 --- a/docs/notes_for_asan.md +++ b/docs/notes_for_asan.md @@ -30,7 +30,7 @@ Note that ASAN is incompatible with -static, so be mindful of that. When compiling with AFL_USE_LSAN, the leak sanitizer will normally run when the program exits. In order to utilize this check at different times, -such as at the end of a loop, you may use the macro __AFL_CHECK_LEAK();. +such as at the end of a loop, you may use the macro __AFL_LEAK_CHECK();. This macro will report a crash in afl-fuzz if any memory is left leaking at this stage. You can also use LSAN_OPTIONS and a supressions file for more fine-tuned checking, however make sure you keep exitcode=23. |