Skip to content
Permalink
Browse files

Fix angr. Add valgrind, libfuzzer, hongfuzz, zzuf

  • Loading branch information
kapaw committed Apr 12, 2019
1 parent 0cee08f commit 9cbfc6f1f9547ed2d2a5d296f6d6cd8fac0bb7e1
Showing with 18 additions and 7 deletions.
  1. +18 −7 Vagrantfile
@@ -22,7 +22,7 @@ sudo -E apt-get -y install git python-pip python3-pip python-dev \
binutils-multiarch libxml2-dev libxslt1-dev git libffi-dev \ binutils-multiarch libxml2-dev libxslt1-dev git libffi-dev \
libreadline-dev libtool debootstrap debian-archive-keyring \ libreadline-dev libtool debootstrap debian-archive-keyring \
libglib2.0-dev libpixman-1-dev libqt4-dev graphviz-dev \ libglib2.0-dev libpixman-1-dev libqt4-dev graphviz-dev \
nasm pandoc libtool-bin nasm pandoc libtool-bin valgrind libfuzzer-7-dev
sudo -E pip install pip --upgrade sudo -E pip install pip --upgrade
# Init .repositories # Init .repositories
@@ -103,12 +103,9 @@ sudo make
sudo make install sudo make install
# Install angr # Install angr
git_clone https://github.com/angr/angr-dev.git
cd ${MY_HOME}/.repositories/angr-dev
sudo apt-get -y install virtualenvwrapper python3-pip python3-dev python3-setuptools build-essential libxml2-dev libxslt1-dev git libffi-dev cmake libreadline-dev libtool debootstrap debian-archive-keyring libglib2.0-dev libpixman-1-dev qtdeclarative5-dev binutils-multiarch nasm libssl-dev libc6:i386 libgcc1:i386 libstdc++6:i386 libtinfo5:i386 zlib1g:i386 openjdk-8-jdk
source /usr/share/virtualenvwrapper/virtualenvwrapper.sh source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
mkvirtualenv angr mkvirtualenv --python=$(which python3) angr
./setup.sh pip install angr
deactivate deactivate
# Install ropper # Install ropper
@@ -120,7 +117,7 @@ sudo -E pip install filebytes==0.9.18
sudo -E pip install keystone-engine sudo -E pip install keystone-engine
sudo -E pip install . --upgrade sudo -E pip install . --upgrade
# Install AFL # Install afl-fuzz
sudo apt-get -y install clang-7 sudo apt-get -y install clang-7
cd ${MY_HOME}/.repositories cd ${MY_HOME}/.repositories
wget --quiet http://lcamtuf.coredump.cx/afl/releases/afl-latest.tgz wget --quiet http://lcamtuf.coredump.cx/afl/releases/afl-latest.tgz
@@ -153,13 +150,27 @@ rm afl-latest.tgz
sudo make install sudo make install
) )
# Install hongfuzz
git_clone https://github.com/google/honggfuzz.git
sudo apt-get -y install libbfd-dev libunwind-dev
make
sudo make install
# Install radamsa # Install radamsa
git_clone https://gitlab.com/akihe/radamsa.git git_clone https://gitlab.com/akihe/radamsa.git
sudo apt-get -y install gcc make git wget sudo apt-get -y install gcc make git wget
cd ${MY_HOME}/.repositories/radamsa cd ${MY_HOME}/.repositories/radamsa
make make
sudo make install sudo make install
# Install zzuf
git_clone https://github.com/samhocevar/zzuf.git
cd ${MY_HOME}/.repositories/zzuf
./bootstrap
./configure
make
sudo make install
# Install unicorn engine # Install unicorn engine
git_clone https://github.com/unicorn-engine/unicorn.git git_clone https://github.com/unicorn-engine/unicorn.git
cd ${MY_HOME}/.repositories/unicorn cd ${MY_HOME}/.repositories/unicorn

0 comments on commit 9cbfc6f

Please sign in to comment.
You can’t perform that action at this time.