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

Fix setup afl

parent d2cf9339
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
echo
echo "Building Fuzzing Support"
echo "Building Fuzzing Support ($ZFUZZ_HOME)"
echo
if [ -z "$ZFUZZ_HOME" ]; then
echo "error: environment var $ZFUZZ_HOME is undefined"
exit 1
fi
cd $ZFUZZ_HOME
afl_loc=$(which afl-fuzz)
......@@ -19,11 +24,9 @@ if [ -z "$afl_loc" ]; then
mv afl-* afl
cd afl
make
sudo make install
# cd qemu_mode && ./build_qemu_support.sh
AFL_PATH=/home/tester/zafl_umbrella/zfuzz/afl
export AFL_PATH
# afl wants this
sudo $ZFUZZ_HOME/util/afl_setup_core_pattern.sh
fi
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