fwknop/test/afl/compile/afl-gen-code-coverage.sh
2014-11-22 13:39:24 -05:00

14 lines
234 B
Bash
Executable File

#!/bin/sh -x
RESULTS_DIR=afl-lcov-results
[ -d $RESULTS_DIR ] && rm -rf $RESULTS_DIR
cd ..
./gen-coverage-report.sh
mv lcov-results afl/$RESULTS_DIR
cd afl
echo "[+] Code coverage available in the $RESULTS_DIR/ directory"
exit $?