[test suite] added *hang.sh helper scripts for AFL results analysis
This commit is contained in:
+10
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user