aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--infra/base-images/base-builder/Dockerfile2
-rwxr-xr-xinfra/base-images/base-builder/debug_afl3
2 files changed, 4 insertions, 1 deletions
diff --git a/infra/base-images/base-builder/Dockerfile b/infra/base-images/base-builder/Dockerfile
index 40fdcfbb..c2f84fda 100644
--- a/infra/base-images/base-builder/Dockerfile
+++ b/infra/base-images/base-builder/Dockerfile
@@ -178,7 +178,7 @@ WORKDIR $SRC
# TODO: switch to -b stable once we can.
RUN git clone https://github.com/AFLplusplus/AFLplusplus.git aflplusplus && \
cd aflplusplus && \
- git checkout 9b3d8c327d33191b181219ffce411b40bdbe8902
+ git checkout 74a6044b3fba496c1255f9aedbf5b7253ae29f0e
RUN cd $SRC && \
curl -L -O https://github.com/google/honggfuzz/archive/oss-fuzz.tar.gz && \
diff --git a/infra/base-images/base-builder/debug_afl b/infra/base-images/base-builder/debug_afl
index 05b1f64f..e3a761c5 100755
--- a/infra/base-images/base-builder/debug_afl
+++ b/infra/base-images/base-builder/debug_afl
@@ -29,4 +29,7 @@ popd > /dev/null
export ASAN_OPTIONS="detect_leaks=0:symbolize=0:detect_odr_violation=0:abort_on_error=1"
export AFL_MAP_SIZE=4194304
+export AFL_LLVM_LAF_ALL=1
+export AFL_LLVM_CMPLOG=1
+export AFL_LLVM_DICT2FILE=$OUT/afl++.dict
ulimit -c unlimited