diff options
| author | Joshua Rogers <jrogers@opera.com> | 2021-12-30 02:54:40 +0100 |
|---|---|---|
| committer | Joshua Rogers <jrogers@opera.com> | 2021-12-30 02:54:40 +0100 |
| commit | 09c4d9ed7574c78bc89edda230e9396d1e79f795 (patch) | |
| tree | 979a8b00b4fd082c5b4d163ae7a0886b30500baf /afl-plot | |
| parent | 02082bcd2e0928a436593ef67ba84af1c87287e4 (diff) | |
| download | afl++-09c4d9ed7574c78bc89edda230e9396d1e79f795.tar.gz | |
Fix LeakSanitizer Usage.
Previously, __lsan_do_leak_check() was run when using __AFL_LEAK_CHECK, however this was the incorrect function to use. According to the documentation: "Subsequent calls to this function will have no effect and end-of-process leak check will not run". This meant that if the memory did not leak on the first usage of __AFL_LEAK_CHECK, subsquent calls to this macro would never do anything. Likewise, it is not possible to use an LSAN suppression list with symbolize=0, so instead __lsan_disable and __lsan_enable are used to 'ignore' certain memory allocations where needed.
Diffstat (limited to 'afl-plot')
0 files changed, 0 insertions, 0 deletions
