2017-02-17 15:48:50 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
mkdir -p afl-build || exit 1
|
|
|
|
cd afl-build || exit 1
|
|
|
|
#cleanup
|
|
|
|
rm -r -- *
|
|
|
|
|
2017-02-18 02:46:36 +01:00
|
|
|
CC=afl-clang-fast cmake ../.. -DENABLE_FUZZING=On -DENABLE_SANITIZERS=On -DBUILD_SHARED_LIBS=Off
|
2017-02-17 15:48:50 +01:00
|
|
|
make afl
|