afl++ fixes (#7026)

* update afl++ commit id

* update afl++ commit id

* fix for afl++

* attempt fix for curl

* allow easy reproducable afl++ builds

* new commit id

* fixes

* another afl++ commit increase

* not a relevant update, but why not

* two afl++ fixes

* add debug script

* update commit id (not relevant though)

* add wget

* update afl++ commit id

* just afl++ doc updates, but maybe this results in some attention
This commit is contained in:
van Hauser 2022-01-11 14:08:49 +01:00 committed by GitHub
parent 0a4bb3fc1e
commit 2be496505e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -25,6 +25,7 @@ RUN dpkg --add-architecture i386 && \
binutils-dev \
build-essential \
curl \
wget \
git \
jq \
libc6-dev-i386 \
@ -122,10 +123,11 @@ ENV FUZZER_LDFLAGS ""
WORKDIR $SRC
# TODO: switch to -b stable once we can.
RUN git clone https://github.com/AFLplusplus/AFLplusplus.git aflplusplus && \
cd aflplusplus && \
git checkout 5525f8c9ef8bb879dadd0eb942d524827d1b0362
git checkout ef77d552e9b89852b293c300a5a9a9c617945f43 && \
wget --no-check-certificate -O oss.sh https://raw.githubusercontent.com/vanhauser-thc/binary_blobs/master/oss.sh && \
chmod 755 oss.sh
RUN cd $SRC && \
curl -L -O https://github.com/google/honggfuzz/archive/oss-fuzz.tar.gz && \

View File

@ -59,7 +59,7 @@ env | egrep -q '^AFL_SKIP_OSSFUZZ=' || {
export AFL_LLVM_INSTRUMENT=CLASSIC,CTX-2
export AFL_ENABLE_CMPLOG=0
# we increase the chance for LAF because we do not do CMPLOG with CTX
export AFL_LAF_CHANCE=30
export AFL_LAF_CHANCE=20
}
# 40% chance to create a dictionary.