small fix to compiler rt

This commit is contained in:
vanhauser-thc 2023-02-02 12:13:48 +01:00
parent 4946e9cc3a
commit 25b4b32627

View File

@ -1582,6 +1582,8 @@ void __sanitizer_cov_trace_pc_guard_init(uint32_t *start, uint32_t *stop) {
to avoid duplicate calls (which can happen as an artifact of the underlying
implementation in LLVM). */
if (__afl_final_loc < 3) __afl_final_loc = 3; // we skip the first 4 entries
*(start++) = ++__afl_final_loc;
while (start < stop) {