Skip to content
Snippets Groups Projects
Commit 80cd8b08 authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Add afl to tree

parent 2f0253a7
No related branches found
No related tags found
Loading
......@@ -15,3 +15,16 @@ scons $SCONSDEBUG -j 3 || exit
cd $ZFUZZ_HOME/libzafl/src
scons
cd $ZFUZZ_HOME
if [ ! -e afl ]; then
echo
echo Setup AFL
echo
wget http://lcamtuf.coredump.cx/afl/releases/afl-latest.tgz
tar -xzvf afl-latest.tgz
rm afl-latest.tgz
mv afl-* afl
cd afl
make
fi
......@@ -5,3 +5,6 @@ scons -c || exit
cd $ZFUZZ_HOME/libzafl/src
scons -c || exit
cd $ZFUZZ_HOME
rm -fr afl
export ZFUZZ_HOME=$PWD
export AFL_TRANSFORMS=$PWD/afl_transforms
export ZFUZZ_HOME=`pwd`
export AFL_TRANSFORMS=$ZFUZZ_HOME/afl_transforms
export AFL_PATH=$ZFUZZ_HOME/afl
#!/bin/bash -x
TMP_FILE_1=/tmp/gzip.tmp.$$
TMP_FILE_2=/tmp/gzip.tmp.$$
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment