diff --git a/test/afl/README.md b/test/afl/README.md index 8e841c56..beafff3d 100644 --- a/test/afl/README.md +++ b/test/afl/README.md @@ -26,13 +26,6 @@ to the *libpng-nocrc.patch* patch included in the AFL sources. The corresponding commit that enables this functionality in fwknop is aaa44656bcfcb705d80768a7b9aa0d45a0e55e21 (see: [https://github.com/mrash/fwknop/commit/aaa44656bcfcb705d80768a7b9aa0d45a0e55e21]) -One exception to the need for compiling fwknop wtih *--enable-afl-fuzzing* is -when using AFL to fuzz the fwknoprc file that is leveraged by the fwknop client. -In this case, fwknop should not be compiled with -*--enable-afl-fuzzing* (use the *compile/afl-compile-no-enable-arg.sh* script) -since the fwknoprc file parsing routines are fuzzed instead of the SPA packet -encoding/decoding cycles. - ## AFL Wrappers The top level directory contains enabling scripts in order to make it easy to diff --git a/test/afl/fuzzing-wrappers/client-rc.sh b/test/afl/fuzzing-wrappers/client-rc.sh index 1b4c7b23..84ea72c3 100755 --- a/test/afl/fuzzing-wrappers/client-rc.sh +++ b/test/afl/fuzzing-wrappers/client-rc.sh @@ -26,10 +26,6 @@ then IN_DIR=$PREV_OUT_DIR fi -### make sure the client can handle the rc file -./fuzzing-wrappers/helpers/fwknop-rc-test.sh || \ - { echo "[*] Client rc file fuzzing requires compilation with ./compile/afl-compile-no-enable-args.sh"; exit 1; } - LD_LIBRARY_PATH=$LIB_DIR afl-fuzz \ -T $BANNER -t 1000 -i $IN_DIR -o $OUT_DIR -f $OUT_DIR/fwknoprc \ $CLIENT --rc-file $OUT_DIR/fwknoprc -T -a 1.1.1.1 -n testhost.com