aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-07-25 22:33:34 +0200
committerRenaud G <renaud@rolisteam.org>2019-07-25 22:33:34 +0200
commit55191413186381051a1d83b2d41b65dd5d57dfa1 (patch)
tree9dc7af45c642ebdd56ce3d643feac8d5e34a3fa2 /tests
parent4b9d378f5f6483af27f793850b5f8cc821fd0739 (diff)
downloadOneRoll-55191413186381051a1d83b2d41b65dd5d57dfa1.tar.gz
OneRoll-55191413186381051a1d83b2d41b65dd5d57dfa1.zip
Fuzzer script
Diffstat (limited to 'tests')
-rwxr-xr-xtests/fuzzer/run_test.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/fuzzer/run_test.sh b/tests/fuzzer/run_test.sh
index 16579fd..00654ab 100755
--- a/tests/fuzzer/run_test.sh
+++ b/tests/fuzzer/run_test.sh
@@ -3,12 +3,18 @@
rm -rf build
mkdir build
cd build
-CC=afl-gcc CXX=afl-g++ cmake ../ && make
+CC=afl-gcc CXX=afl-g++ cmake ../ -DSTATIC_BUILD=ON && make
#export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
#./fuzzTestCase ../testcase_dir/gooddata.txt
-afl-fuzz -m 2G -i ../testcase_dir -o ../findings_dir ./fuzzTestCase @@
+# afl-fuzz -m 2G -i ../testcase_dir -o ../findings_dir ./fuzzTestCase @@
+afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -M fuzzer01 ./fuzzTestCase @@
+afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -S fuzzer02 ./fuzzTestCase @@
+afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -S fuzzer03 ./fuzzTestCase @@
+afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -S fuzzer04 ./fuzzTestCase @@
+afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -S fuzzer05 ./fuzzTestCase @@
+afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -S fuzzer06 ./fuzzTestCase @@