Here is an example for the client-rc.sh wrapper script to have it also generate code coverage results for afl-fuzz (afl-cov is enabled via two environmental variables AFL_COV and CODE_DIR). $ cd /tmp/afl-ramdisk/fwknop.git/test/afl/ $ AFL_COV=1 CODE_DIR=/home/mbr/git/fwknop.git ./fuzzing-wrappers/client-rc.sh
The typical work flow when generating gcov coverage results is: - compile fwknop with coverage support - run the test suite - hack on fwknop - re-run the test suite to see what coverage has been added This work flow is much more common than collecting coverage results for a complete test suite run. Therefore, this commit switches the default behavior in --enable-complete mode (which enables coverage support) to not zero-out coverage counters. A new argument --enable-profile-coverage-init zeros the counters in preparation for a global coverage run.
…n by Jonathan Bennett
… does not compile against libfiu
… Fwknop2-v1.0-RC.2 binary
…iptables vs. firewalld)