File tree Expand file tree Collapse file tree 5 files changed +27
-3
lines changed Expand file tree Collapse file tree 5 files changed +27
-3
lines changed Original file line number Diff line number Diff line change
1
+ afl-cov-0.6.3 (2020-05-13):
2
+ - Allow @@ additionally to AFL_FILE
3
+ - added three helper scripts
4
+
1
5
afl-cov-0.6.2 (12/26/2018):
2
6
- (Tim Strazzere) Add support for llvm-cov compiled binaries. Add a check
3
7
when ensuring the binary was instrumented with gcov to catch an llvm-cov
Original file line number Diff line number Diff line change 1
1
# afl-cov - AFL Fuzzing Code Coverage
2
2
3
+ Version: 0.6.3
4
+
3
5
- [ Preface] ( #preface )
4
6
- [ Introduction] ( #introduction )
5
7
- [ Prerequisites] ( #prerequisites )
@@ -20,6 +22,7 @@ It has three changes:
20
22
* afl-cov now accepts "@@" like AFL++ in the command line
21
23
* afl-cov.sh makes using afl-cov easier (just needs two parameters)
22
24
* afl-cov-build.sh makes builing a target for coverage easier
25
+ * afl-stat.sh shows the statistics of a run (in progress or completed)
23
26
24
27
Enjoy!
25
28
Original file line number Diff line number Diff line change 1
- 0.6.2
1
+ 0.6.3
Original file line number Diff line number Diff line change 2
2
#
3
3
# File: afl-cov
4
4
#
5
- # Version: 0.6.2
5
+ # Version: 0.6.3
6
6
#
7
7
# Purpose: Perform lcov coverage diff's against each AFL queue file to see
8
8
# new functions and line coverage evolve from an AFL fuzzing cycle.
44
44
except ImportError :
45
45
import subprocess
46
46
47
- __version__ = '0.6.2.1 '
47
+ __version__ = '0.6.3 '
48
48
49
49
NO_OUTPUT = 0
50
50
WANT_OUTPUT = 1
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ test " $1 " = " -h" -o -z " $1 " -o -z " $1 " && {
3
+ echo Syntax: $0 out-dir
4
+ echo " Shows statistics of a run (in progress or done)"
5
+ exit 1
6
+ }
7
+ test -n " $AFL_PATH " && PATH=$AFL_PATH :$PATH
8
+ while [ -n " $1 " ]; do
9
+ test -d " $1 " || { echo Error: not a directory: $1 ; }
10
+ test -e " $1 " /fuzzer_stats || { echo Error: not an afl-fuzz -o out directory ; }
11
+ echo File: ` realpath " $1 " `
12
+ egrep ' run_time|execs_done|execs_per_sec|paths_total|^unique_|stability' " $1 " /fuzzer_stats | sort | tee -a " $1 " /stats.out
13
+ LINES=
14
+ test -e " $1 " /cov/afl-cov.log && LINES=` grep -w lines " $1 " /cov/afl-cov.log| tail -n 1| sed ' s/.*(//' | sed ' s/ .*//' `
15
+ echo " coverage : $LINES " | tee -a " $1 " /stats.out
16
+ shift
17
+ done
You can’t perform that action at this time.
0 commit comments