mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-19 21:13:45 +00:00
mark llvm 13 as unsupported (yet)
This commit is contained in:
@ -43,7 +43,7 @@ endif
|
|||||||
LLVMVER = $(shell $(LLVM_CONFIG) --version 2>/dev/null | sed 's/git//' | sed 's/svn//' )
|
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_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_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_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_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 )
|
LLVM_HAVE_LTO = $(shell $(LLVM_CONFIG) --version 2>/dev/null | egrep -q '^1[1-9]' && echo 1 || echo 0 )
|
||||||
|
@ -730,6 +730,9 @@ campaigns as these are much shorter runnings.
|
|||||||
1. Always:
|
1. Always:
|
||||||
* LTO has a much longer compile time which is diametrical to short fuzzing -
|
* LTO has a much longer compile time which is diametrical to short fuzzing -
|
||||||
hence use afl-clang-fast instead.
|
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
|
* `AFL_FAST_CAL` - Enable fast calibration, this halfs the time the saturated
|
||||||
corpus needs to be loaded.
|
corpus needs to be loaded.
|
||||||
* `AFL_CMPLOG_ONLY_NEW` - only perform cmplog on new found paths, not the
|
* `AFL_CMPLOG_ONLY_NEW` - only perform cmplog on new found paths, not the
|
||||||
|
@ -3908,6 +3908,7 @@ static void internal_malloc_stats(mstate m) {
|
|||||||
\
|
\
|
||||||
} else if (RTCHECK(B == smallbin_at(M, I) || \
|
} else if (RTCHECK(B == smallbin_at(M, I) || \
|
||||||
\
|
\
|
||||||
|
\
|
||||||
(ok_address(M, B) && B->fd == P))) { \
|
(ok_address(M, B) && B->fd == P))) { \
|
||||||
\
|
\
|
||||||
F->bk = B; \
|
F->bk = B; \
|
||||||
@ -4119,6 +4120,7 @@ static void internal_malloc_stats(mstate m) {
|
|||||||
\
|
\
|
||||||
} else \
|
} else \
|
||||||
\
|
\
|
||||||
|
\
|
||||||
CORRUPTION_ERROR_ACTION(M); \
|
CORRUPTION_ERROR_ACTION(M); \
|
||||||
if (R != 0) { \
|
if (R != 0) { \
|
||||||
\
|
\
|
||||||
@ -4135,6 +4137,7 @@ static void internal_malloc_stats(mstate m) {
|
|||||||
\
|
\
|
||||||
} else \
|
} else \
|
||||||
\
|
\
|
||||||
|
\
|
||||||
CORRUPTION_ERROR_ACTION(M); \
|
CORRUPTION_ERROR_ACTION(M); \
|
||||||
\
|
\
|
||||||
} \
|
} \
|
||||||
@ -4147,12 +4150,14 @@ static void internal_malloc_stats(mstate m) {
|
|||||||
\
|
\
|
||||||
} else \
|
} else \
|
||||||
\
|
\
|
||||||
|
\
|
||||||
CORRUPTION_ERROR_ACTION(M); \
|
CORRUPTION_ERROR_ACTION(M); \
|
||||||
\
|
\
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
} else \
|
} else \
|
||||||
\
|
\
|
||||||
|
\
|
||||||
CORRUPTION_ERROR_ACTION(M); \
|
CORRUPTION_ERROR_ACTION(M); \
|
||||||
\
|
\
|
||||||
} \
|
} \
|
||||||
|
Reference in New Issue
Block a user