llvm 9 workaround
MODIFY
llvm_mode/afl-llvm-rt.o.c
llvm_mode/afl-llvm-rt.o.c
@@ -903,9 +903,16 @@ void __sanitizer_cov_trace_pc_guard(uint32_t *guard) {
}
*/
+#if LLVM_VERSION_MAJOR < 9
+
+ __afl_area_ptr[*guard]++;
+
+#else
__afl_area_ptr[*guard] = __afl_area_ptr[*guard] + 1 + (__afl_area_ptr[*guard] == 255 ? 1 : 0);
+#endif
+
}
/* Init callback. Populates instrumentation IDs. Note that we're using

llvm 9 workaround