mark llvm 13 as unsupported (yet)
MODIFY
GNUmakefile.llvm
GNUmakefile.llvm
@@ -43,7 +43,7 @@ endif
LLVMVER = $(shell $(LLVM_CONFIG) --version 2>/dev/null | sed 's/git//' | sed 's/svn//' )
LLVM_MAJOR = $(shell $(LLVM_CONFIG) --version 2>/dev/null | sed 's/\..*//' )
LLVM_MINOR = $(shell $(LLVM_CONFIG) --version 2>/dev/null | sed 's/.*\.//' | sed 's/git//' | sed 's/svn//' | sed 's/ .*//' )
-LLVM_UNSUPPORTED = $(shell $(LLVM_CONFIG) --version 2>/dev/null | egrep -q '^3\.[0-3]|^19' && echo 1 || echo 0 )
+LLVM_UNSUPPORTED = $(shell $(LLVM_CONFIG) --version 2>/dev/null | egrep -q '^3\.[0-3]|^1[3-9]' && echo 1 || echo 0 )
LLVM_NEW_API = $(shell $(LLVM_CONFIG) --version 2>/dev/null | egrep -q '^1[0-9]' && echo 1 || echo 0 )
LLVM_10_OK = $(shell $(LLVM_CONFIG) --version 2>/dev/null | egrep -q '^1[1-9]|^10\.[1-9]|^10\.0.[1-9]' && echo 1 || echo 0 )
LLVM_HAVE_LTO = $(shell $(LLVM_CONFIG) --version 2>/dev/null | egrep -q '^1[1-9]' && echo 1 || echo 0 )

MODIFY
README.md
README.md
@@ -730,6 +730,9 @@ campaigns as these are much shorter runnings.
1. Always:
* LTO has a much longer compile time which is diametrical to short fuzzing -
hence use afl-clang-fast instead.
+ * If you compile with CMPLOG then you can save fuzzing time and reuse that
+ compiled target for both the -c option and the main fuzz target.
+ This will impact the speed by ~15% though.
* `AFL_FAST_CAL` - Enable fast calibration, this halfs the time the saturated
corpus needs to be loaded.
* `AFL_CMPLOG_ONLY_NEW` - only perform cmplog on new found paths, not the

MODIFY
qemu_mode/libqasan/dlmalloc.c
qemu_mode/libqasan/dlmalloc.c
@@ -3908,6 +3908,7 @@ static void internal_malloc_stats(mstate m) {
\
} else if (RTCHECK(B == smallbin_at(M, I) || \
\
+ \
(ok_address(M, B) && B->fd == P))) { \
\
F->bk = B; \
@@ -4119,6 +4120,7 @@ static void internal_malloc_stats(mstate m) {
\
} else \
\
+ \
CORRUPTION_ERROR_ACTION(M); \
if (R != 0) { \
\
@@ -4135,6 +4137,7 @@ static void internal_malloc_stats(mstate m) {
\
} else \
\
+ \
CORRUPTION_ERROR_ACTION(M); \
\
} \
@@ -4147,12 +4150,14 @@ static void internal_malloc_stats(mstate m) {
\
} else \
\
+ \
CORRUPTION_ERROR_ACTION(M); \
\
} \
\
} else \
\
+ \
CORRUPTION_ERROR_ACTION(M); \
\
} \

mark llvm 13 as unsupported (yet)