[test suite] added *hang.sh helper scripts for AFL results analysis

This commit is contained in:
Michael Rash
2014-11-21 22:16:02 -05:00
parent 46a6b5a1e5
commit 63a2ae92d4
8 changed files with 48 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh -x
# this is for the fuzzing-wrappers/client-rc.sh script
cd ../../
CC=afl-gcc ./extras/apparmor/configure_args.sh $@
make clean
make
cd test/afl
exit
@@ -1,8 +1,11 @@
#!/bin/sh -x
for f in `find fuzzing-output/client-rc.out/hangs -name 'id*'`
HANG_DIR="fuzzing-output/client-rc.out/hangs"
HELPER_SH="fuzzing-wrappers/helpers/fwknop-rc-test.sh"
for f in `find $HANG_DIR -name 'id*'`
do
./fuzzing-wrappers/helpers/fwknop-rc-test.sh $f
./$HELPER_SH $f
done
exit
@@ -0,0 +1,11 @@
#!/bin/sh -x
HANG_DIR="fuzzing-output/server-access.out/hangs"
HELPER_SH="fuzzing-wrappers/helpers/fwknopd-parse-access.sh"
for f in `find $HANG_DIR -name 'id*'`
do
./$HELPER_SH $f
done
exit
@@ -0,0 +1,11 @@
#!/bin/sh -x
HANG_DIR="fuzzing-output/server-conf.out/hangs"
HELPER_SH="fuzzing-wrappers/helpers/fwknopd-parse-conf.sh"
for f in `find $HANG_DIR -name 'id*'`
do
./$HELPER_SH $f
done
exit
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh -x
HANG_DIR="fuzzing-output/spa-pkts.out/hangs"
HELPER_SH="fuzzing-wrappers/helpers/fwknopd-stdin-test.sh"
for f in `find $HANG_DIR -name 'id*'`
do
./$HELPER_SH $f
done
exit