Skip to content

Add Dockerfile for setup #14

@insuyun

Description

@insuyun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions