Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile for setup #14

Open
insuyun opened this issue Mar 21, 2018 · 1 comment
Open

Add Dockerfile for setup #14

insuyun opened this issue Mar 21, 2018 · 1 comment

Comments

@insuyun
Copy link

insuyun commented Mar 21, 2018

Hi, all.
For testing, I created a simple Dockerfile to build vuzzer.
If you have interested in, please include this in your repo.
Thanks.

Dockerfile

FROM i386/ubuntu:trusty
ENTRYPOINT ["linux32", "--"]

COPY build.sh /build.sh

RUN /build.sh

build.sh

#!/bin/bash
apt-get update
apt-get install -y build-essential bmagic git python python-pip wget

# Install BitVector module
pip install BitVector

# Install vuzzer
git clone https://github.com/vusec/vuzzer.git /vuzzer
cd /vuzzer

# Install EWAHBoolArray
git clone https://github.com/lemire/EWAHBoolArray.git
ln -s $(pwd)/EWAHBoolArray/headers/* /usr/include

# Download pin
wget http://software.intel.com/sites/landingpage/pintool/downloads/pin-2.14-71313-gcc.4.4.7-linux.tar.gz
tar -zxvf pin-2.14-71313-gcc.4.4.7-linux.tar.gz
ln -s $(pwd)/pin-2.14-71313-gcc.4.4.7-linux $(pwd)/pin

# Build vuzzer
export HOST_ARCH=ia32
export PIN_ROOT=$(pwd)/pin
make support-libdft
make
make -f mymakefile
@tosanjay
Copy link
Contributor

Hi,
Thank you very much. This is indeed very useful and we'll include the description in the README.
On the same time, we are about to release a 64-bit version of VUzzer and therefore focus is more on this task. But we'll do it asap.
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants