Skip to content

Commit

Permalink
[test suite] update afl-compile-code-coverage.sh to not use afl-gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
mrash committed Mar 23, 2015
1 parent d058493 commit 211f1fb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 19 deletions.
1 change: 0 additions & 1 deletion Makefile.am
Expand Up @@ -360,7 +360,6 @@ EXTRA_DIST = \
test/afl/compile/afl-compile-code-coverage.sh \
test/afl/compile/afl-compile-no-enable-arg.sh \
test/afl/compile/afl-compile.sh \
test/afl/compile/afl-gen-code-coverage.sh \
test/afl/doc/AFL_status_screen.png \
test/afl/README \
test/afl/fuzzing-wrappers/client-rc.sh \
Expand Down
17 changes: 12 additions & 5 deletions test/afl/compile/afl-compile-code-coverage.sh
@@ -1,9 +1,16 @@
#!/bin/sh -x
#
# Recompile fwknop with AFL code enabled, but without using afl-gcc. The
# purpose of this is to allow the generated fuzzing corpus under an AFL
# fuzzing run to be sent back through the fwknop code to see which
# functions/lines were executed by AFL. This can be used to help tune the
# original test case inputs.
#

cd ..
./rm-coverage-files.sh
cd afl

./compile/afl-compile.sh --enable-profile-coverage
cd ../../
./extras/apparmor/configure_args.sh --enable-afl-fuzzing --enable-profile-coverage $@
make clean
make
cd test/afl

exit $?
13 changes: 0 additions & 13 deletions test/afl/compile/afl-gen-code-coverage.sh

This file was deleted.

0 comments on commit 211f1fb

Please sign in to comment.