diff --git a/test/afl/fuzzing-wrappers/helpers/afl-cmin/README b/test/afl/fuzzing-wrappers/helpers/afl-cmin/README new file mode 100644 index 00000000..7a7cf6d1 --- /dev/null +++ b/test/afl/fuzzing-wrappers/helpers/afl-cmin/README @@ -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 diff --git a/test/afl/fuzzing-wrappers/helpers/afl-cmin/server-access-cmin.sh b/test/afl/fuzzing-wrappers/helpers/afl-cmin/server-access-cmin.sh index a0b08dcc..d74d0019 100755 --- a/test/afl/fuzzing-wrappers/helpers/afl-cmin/server-access-cmin.sh +++ b/test/afl/fuzzing-wrappers/helpers/afl-cmin/server-access-cmin.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