-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
29 lines (22 loc) · 949 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y wget curl make gcc g++ clang-6.0 autoconf pkg-config git python3 parallel flex bison libtool zlib1g-dev ruby cmake nasm texinfo libjpeg-dev
RUN mkdir /Racing-eval && cd /Racing-eval \
&& wget -q -c http://software.intel.com/sites/landingpage/pintool/downloads/pin-3.15-98253-gb56e429b1-gcc-linux.tar.gz \
&& tar -xzf pin*.tar.gz
WORKDIR /Racing-eval
# RUN git clone https://github.com/0xdd96/Racing-final
ADD InstTracer InstTracer
ADD Racing-code Racing-code
ADD scripts scripts
ENV PIN_ROOT="/Racing-eval/pin-3.15-98253-gb56e429b1-gcc-linux"
ENV RACING_DIR="/Racing-eval"
ENV LLVM_CONFIG=llvm-config-6.0
ENV CC=clang-6.0
ENV CXX=clang++-6.0
ENV AFL_CC=clang-6.0
ENV AFL_CXX=clang++-6.0
RUN cd ${RACING_DIR}/InstTracer && CC=gcc CXX=g++ make
RUN cd ${RACING_DIR}/Racing-code && make
RUN cd ${RACING_DIR}/Racing-code/llvm_mode && make