diff options
| author | Dominik Maier <domenukk@gmail.com> | 2021-02-15 14:07:10 +0100 |
|---|---|---|
| committer | Dominik Maier <domenukk@gmail.com> | 2021-02-15 14:07:10 +0100 |
| commit | c5017945f7f3e352d5b29889c6cc7d31d7206fd9 (patch) | |
| tree | 08a6473db09532cb109143e16d1fc9b9a0cf6ed8 /Dockerfile | |
| parent | 5c4c49d9caa967f4dc939ea1ce3d92bc5d1276bc (diff) | |
| parent | e3a5c31307f323452dc4b5288e0d19a02b596a33 (diff) | |
| download | afl++-c5017945f7f3e352d5b29889c6cc7d31d7206fd9.tar.gz | |
merged
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile index 8779fee5..1cb00d5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,8 @@ LABEL "about"="AFLplusplus docker image" ARG DEBIAN_FRONTEND=noninteractive +env NO_ARCH_OPT 1 + RUN apt-get update && \ apt-get -y install --no-install-suggests --no-install-recommends \ automake \ @@ -48,16 +50,16 @@ RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 0 ENV LLVM_CONFIG=llvm-config-12 ENV AFL_SKIP_CPUFREQ=1 +ENV AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1 -RUN git clone https://github.com/vanhauser-thc/afl-cov /afl-cov +RUN git clone --depth=1 https://github.com/vanhauser-thc/afl-cov /afl-cov RUN cd /afl-cov && make install && cd .. COPY . /AFLplusplus WORKDIR /AFLplusplus -RUN export REAL_CXX=g++-10 && export CC=gcc-10 && \ - export CXX=g++-10 && make clean && \ - make distrib CFLAGS="-O3 -funroll-loops -D_FORTIFY_SOURCE=2" && make install && make clean +RUN export CC=gcc-10 && export CXX=g++-10 && make clean && \ + make distrib && make install && make clean RUN echo 'alias joe="jupp --wordwrap"' >> ~/.bashrc RUN echo 'export PS1="[afl++]$PS1"' >> ~/.bashrc |
