nozero for llvm pcguard

This commit is contained in:
van Hauser 2020-08-12 10:41:09 +02:00
parent ee548df05f
commit 132b57cf03
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
AFL_LLVM_WHITELIST and AFL_LLVM_INSTRUMENT_FILE are deprecated and
are matched to AFL_LLVM_ALLOWLIST). The format is compatible to llvm
sancov, and also supports function matching!
- added nozero counting to trace-pc/pcgard
- fixes for laf-intel float splitting (thanks to mark-griffin for
reporting)
- LTO: switch default to the dynamic memory map, set AFL_LLVM_MAP_ADDR

View File

@ -904,7 +904,7 @@ void __sanitizer_cov_trace_pc_guard(uint32_t *guard) {
*/
__afl_area_ptr[*guard]++;
__afl_area_ptr[*guard] = __afl_area_ptr[*guard] + 1 + (__afl_area_ptr[*guard] == 255 ? 1 : 0);
}