aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar van Hauser <vh@thc.org>2021-03-06 16:02:29 +0100
committerGravatar GitHub <noreply@github.com>2021-03-06 07:02:29 -0800
commit6f195318129e33dd344a66671e6a1cdf471397ac (patch)
tree328ee735895589367baf81699dc6078a4a91740d
parentdb622f2e26deeebf5d761529a086ef1b3a9fe97d (diff)
add asan poison check to afl++ cmplog (#5311)
* output afl++ setup * update commit id * update afl++ commit id * asan + cmplog fix * update commit id * update and enhance afl++ * update afl++ commit id, better run asan options * fix linter * add debug_afl script * Update debug_afl * Update compile_afl * fix for karchive * put debug_afl in the docker container * asan poison fix Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
-rw-r--r--infra/base-images/base-builder/Dockerfile2
-rwxr-xr-xinfra/base-images/base-builder/debug_afl2
2 files changed, 3 insertions, 1 deletions
diff --git a/infra/base-images/base-builder/Dockerfile b/infra/base-images/base-builder/Dockerfile
index d2d8af45..acfea7a1 100644
--- a/infra/base-images/base-builder/Dockerfile
+++ b/infra/base-images/base-builder/Dockerfile
@@ -176,7 +176,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 41ad23041b98917e9c38873f5b296ab98e59e460
+ git checkout 9b3d8c327d33191b181219ffce411b40bdbe8902
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 3e46a18b..05b1f64f 100755
--- a/infra/base-images/base-builder/debug_afl
+++ b/infra/base-images/base-builder/debug_afl
@@ -22,6 +22,8 @@ apt-get install -y strace gdb vim joe
pushd $SRC/aflplusplus > /dev/null
git checkout dev
git pull
+unset CFLAGS
+unset CXXFLAGS
make
popd > /dev/null