diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2024-11-04 16:49:47 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2024-11-04 17:10:03 +0900 |
commit | f9d644e7f357a21aa64a5de27408b74cbd345dc8 (patch) | |
tree | 7829136efbd1f4b12816f884af2c053b54a7704f /Dockerfile | |
parent | cff2d88f97f983683f4caf0e8f87a4f858b486be (diff) | |
download | afl-dyninst-f9d644e7f357a21aa64a5de27408b74cbd345dc8.tar.gz |
Rework build recipe
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 998ffc7..0000000 --- a/Dockerfile +++ /dev/null @@ -1,52 +0,0 @@ -FROM kalilinux/kali-rolling AS afl-dyninst -MAINTAINER vh@thc.org - -ARG DEBIAN_FRONTEND=noninteractive -RUN apt-get update && apt-get -y upgrade && apt-get -y install \ - build-essential \ - gcc \ - g++ \ - make \ - cmake \ - git \ - gdb \ - ca-certificates \ - tar \ - gzip \ - vim \ - joe \ - wget \ - curl \ - apt-utils \ - libelf-dev \ - libelf1 \ - libiberty-dev \ - libboost-all-dev \ - libdw-dev \ - libtbb2 \ - libtbb-dev \ - && apt-get -y autoremove && rm -rf /var/lib/apt/lists/* - -RUN git clone --depth=1 https://github.com/dyninst/dyninst \ - && cd dyninst && mkdir build && cd build \ - && cmake .. \ - && make -j3 \ - && make install - -RUN git clone --depth=1 https://github.com/AFLplusplus/AFLplusplus \ - && cd AFLplusplus \ - && make source-only \ - && make install - -RUN git clone --depth=1 https://github.com/vanhauser-thc/afl-dyninst \ - && cd afl-dyninst \ - && ln -s ../AFLplusplus afl \ - && make \ - && make install - -RUN echo "/usr/local/lib" > /etc/ld.so.conf.d/dyninst.conf && ldconfig \ - && echo "export DYNINSTAPI_RT_LIB=/usr/local/lib/libdyninstAPI_RT.so" >> .bashrc - -RUN rm -rf afl-dyninst AFLplusplus dyninst - -ENV DYNINSTAPI_RT_LIB /usr/local/lib/libdyninstAPI_RT.so |