| 1 |
|
| 2 |
Normally the test corpus in the test/afl/test-cases/ directory is sufficient |
| 3 |
for effective AFL fuzzing rounds. However, if you want to test with an expanded |
| 4 |
set of files that have gone through afl-cmin, then you can leverage the scripts |
| 5 |
in this directory. This uses the complete set of main test suite config files |
| 6 |
in the test/conf/ directory as the input corpus for afl-cmin. The work flow |
| 7 |
would be (for the server-access.sh fuzzing wrapper for example): |
| 8 |
|
| 9 |
$ cd fwknop.git/test/afl/ |
| 10 |
$ ./compile/afl-compile.sh |
| 11 |
$ ./fuzzing-wrappers/helpers/afl-cmin/server-access-cmin.sh |
| 12 |
<edit the script below to use the new test-cases/server-access.cmin directory> |
| 13 |
$ ./fuzzing-wrappers/server-access.sh |