mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 18:48:08 +00:00
afl-whatsup -d
This commit is contained in:
41
afl-whatsup
41
afl-whatsup
@ -21,29 +21,37 @@
|
|||||||
echo "$0 status check tool for afl-fuzz by Michal Zalewski"
|
echo "$0 status check tool for afl-fuzz by Michal Zalewski"
|
||||||
echo
|
echo
|
||||||
test "$1" = "-h" -o "$1" = "-hh" && {
|
test "$1" = "-h" -o "$1" = "-hh" && {
|
||||||
echo $0 [-s] output_directory
|
echo "$0 [-s] [-d] output_directory"
|
||||||
echo
|
echo
|
||||||
echo Options:
|
echo Options:
|
||||||
echo -s - skip details and output summary results only
|
echo -s - skip details and output summary results only
|
||||||
|
echo -d - include dead fuzzer stats
|
||||||
echo
|
echo
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$1" = "-s" ]; then
|
unset SUMMARY_ONLY
|
||||||
|
unset PROCESS_DEAD
|
||||||
|
|
||||||
|
while [ "$1" = "-s" -o "$1" = "-d" ]; do
|
||||||
|
|
||||||
|
if [ "$1" = "-s" ]; then
|
||||||
SUMMARY_ONLY=1
|
SUMMARY_ONLY=1
|
||||||
DIR="$2"
|
fi
|
||||||
|
|
||||||
else
|
if [ "$1" = "-d" ]; then
|
||||||
|
PROCESS_DEAD=1
|
||||||
|
fi
|
||||||
|
|
||||||
unset SUMMARY_ONLY
|
shift
|
||||||
DIR="$1"
|
|
||||||
|
|
||||||
fi
|
done
|
||||||
|
|
||||||
|
DIR="$1"
|
||||||
|
|
||||||
if [ "$DIR" = "" ]; then
|
if [ "$DIR" = "" ]; then
|
||||||
|
|
||||||
echo "Usage: $0 [ -s ] afl_sync_dir" 1>&2
|
echo "Usage: $0 [-s] [-d] afl_sync_dir" 1>&2
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
echo "The -s option causes the tool to skip all the per-fuzzer trivia and show" 1>&2
|
echo "The -s option causes the tool to skip all the per-fuzzer trivia and show" 1>&2
|
||||||
echo "just the summary results. See docs/parallel_fuzzing.md for additional tips." 1>&2
|
echo "just the summary results. See docs/parallel_fuzzing.md for additional tips." 1>&2
|
||||||
@ -160,10 +168,15 @@ for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
DEAD_CNT=$((DEAD_CNT + 1))
|
DEAD_CNT=$((DEAD_CNT + 1))
|
||||||
|
|
||||||
|
if [ "$PROCESS_DEAD" = "" ]; then
|
||||||
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
ALIVE_CNT=$((ALIVE_CNT + 1))
|
ALIVE_CNT=$((ALIVE_CNT + 1))
|
||||||
|
|
||||||
EXEC_SEC=0
|
EXEC_SEC=0
|
||||||
@ -257,8 +270,18 @@ echo "============="
|
|||||||
echo
|
echo
|
||||||
echo " Fuzzers alive : $ALIVE_CNT"
|
echo " Fuzzers alive : $ALIVE_CNT"
|
||||||
|
|
||||||
|
if [ "$PROCESS_DEAD" = "" ]; then
|
||||||
|
|
||||||
|
TXT="excluded from stats"
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
TXT="included in stats"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! "$DEAD_CNT" = "0" ]; then
|
if [ ! "$DEAD_CNT" = "0" ]; then
|
||||||
echo " Dead or remote : $DEAD_CNT (excluded from stats)"
|
echo " Dead or remote : $DEAD_CNT ($TXT)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo " Total run time : $FMT_TIME"
|
echo " Total run time : $FMT_TIME"
|
||||||
|
@ -31,6 +31,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
|
|||||||
- Leak Sanitizer support (AFL_USE_LSAN) added by Joshua Rogers, thanks!
|
- Leak Sanitizer support (AFL_USE_LSAN) added by Joshua Rogers, thanks!
|
||||||
- Removed InsTrim instrumentation as it is not as good as PCGUARD
|
- Removed InsTrim instrumentation as it is not as good as PCGUARD
|
||||||
- Removed automatic linking with -lc++ for LTO mode
|
- Removed automatic linking with -lc++ for LTO mode
|
||||||
|
- add -d (dead fuzzer stats) to afl-whatsup
|
||||||
|
|
||||||
### Version ++3.12c (release)
|
### Version ++3.12c (release)
|
||||||
- afl-fuzz:
|
- afl-fuzz:
|
||||||
|
Reference in New Issue
Block a user