[test suite] added README for afl-cmin helper scripts

This commit is contained in:
Michael Rash
2015-03-19 23:39:16 -04:00
parent c4048573c6
commit 67fefd67ae
2 changed files with 12 additions and 1 deletions
@@ -0,0 +1,12 @@
Normally the test corpus in the test/afl/test-cases/ directory is sufficient
for effective AFL fuzzing rounds. However, if you want to test with an expanded
set of files that have gone through afl-cmin, then you can leverage the scripts
in this directory. This uses the complete set of main test suite config files
in the test/conf/ directory as the input corpus for afl-cmin. The work flow
would be (for the server-access.sh fuzzing wrapper for example):
$ cd fwknop.git/test/afl/
$ ./compile/afl-compile.sh
$ ./fuzzing-wrappers/helpers/afl-cmin/server-access-cmin.sh
$ ./fuzzing-wrappers/server-access.sh
@@ -6,7 +6,6 @@
### config files
CONF_DIR=../conf
IN_DIR=$CONF_DIR
OUT_DIR=${IN_DIR}.cmin
OUT_DIR="test-cases/server-access.cmin"
FUZZ_FILE=access_tmp.conf