Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

afl++ fixes #7026

Merged
merged 31 commits into from
Jan 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d2a3e06
update afl++ commit id
vanhauser-thc Nov 10, 2021
ff559db
Merge branch 'google:master' into master
vanhauser-thc Nov 17, 2021
c4e7ba2
update afl++ commit id
vanhauser-thc Nov 17, 2021
518297d
Merge branch 'google:master' into master
vanhauser-thc Nov 19, 2021
b923081
fix for afl++
vanhauser-thc Nov 19, 2021
5a41918
Merge branch 'google:master' into master
vanhauser-thc Nov 19, 2021
7f09510
Merge branch 'google:master' into master
vanhauser-thc Nov 22, 2021
5622a2a
attempt fix for curl
vanhauser-thc Nov 22, 2021
5169de7
Merge branch 'google:master' into master
vanhauser-thc Nov 23, 2021
99e70dd
allow easy reproducable afl++ builds
vanhauser-thc Nov 23, 2021
cb7fb15
Merge branch 'google:master' into master
vanhauser-thc Nov 30, 2021
591f905
new commit id
vanhauser-thc Nov 30, 2021
93a6125
Merge branch 'google:master' into master
vanhauser-thc Dec 1, 2021
a4b67da
Merge branch 'google:master' into master
vanhauser-thc Dec 3, 2021
621a60a
fixes
vanhauser-thc Dec 11, 2021
251b9bb
Merge branch 'google:master' into master
vanhauser-thc Dec 11, 2021
69fd0a1
another afl++ commit increase
vanhauser-thc Dec 11, 2021
76560c7
not a relevant update, but why not
vanhauser-thc Dec 13, 2021
aafa4e5
Merge branch 'google:master' into master
vanhauser-thc Dec 14, 2021
4a135bf
Merge branch 'google:master' into master
vanhauser-thc Dec 14, 2021
71aa1c0
Merge branch 'google:master' into master
vanhauser-thc Dec 15, 2021
b5f87d1
Merge branch 'google:master' into master
vanhauser-thc Dec 16, 2021
0770fcf
two afl++ fixes
vanhauser-thc Dec 16, 2021
5e0a959
add debug script
vanhauser-thc Dec 16, 2021
38463dc
update commit id (not relevant though)
vanhauser-thc Dec 16, 2021
618e305
add wget
vanhauser-thc Dec 16, 2021
62a8204
Merge branch 'google:master' into master
vanhauser-thc Jan 4, 2022
a959484
update afl++ commit id
vanhauser-thc Jan 4, 2022
3a13968
Merge branch 'google:master' into master
vanhauser-thc Jan 5, 2022
af97641
Merge branch 'google:master' into master
vanhauser-thc Jan 11, 2022
40ab765
just afl++ doc updates, but maybe this results in some attention
vanhauser-thc Jan 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions infra/base-images/base-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN dpkg --add-architecture i386 && \
binutils-dev \
build-essential \
curl \
wget \
git \
jq \
libc6-dev-i386 \
Expand Down Expand Up @@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion infra/base-images/base-builder/compile_afl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down