We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89801bb commit 6699b50Copy full SHA for 6699b50
afl-stat.sh
@@ -14,9 +14,11 @@ while [ -n "$1" ]; do
14
SECONDS=`egrep run_time "$1"/fuzzer_stats | awk '{print$3}'`
15
TIME=`date -u -d "@$SECONDS" +"%T"`
16
echo "run_clock : $TIME"
17
- } | sort | tee -a "$1"/stats.out
+ } | sort | tee "$1"/stats.out
18
LINES=
19
- test -e "$1"/cov/afl-cov.log && LINES=`grep -w lines "$1"/cov/afl-cov.log|tail -n 1|sed 's/.*(//'|sed 's/ .*//'`
20
- echo "coverage : $LINES" | tee -a "$1"/stats.out
+ test -e "$1"/cov/afl-cov.log && {
+ LINES=`grep -w lines "$1"/cov/afl-cov.log|tail -n 1|sed 's/.*(//'|sed 's/ .*//'`
21
+ echo "coverage : $LINES" | tee -a "$1"/stats.out
22
+ }
23
shift
24
done
0 commit comments