This repository has been archived by the owner on Nov 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added awk scripts to process crashes
- Loading branch information
Andrea Jemmett
committed
Jun 24, 2019
1 parent
556de5a
commit 62551d4
Showing
5 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
!*.conf | ||
!stored_work | ||
!*.r | ||
!*.awk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
if (times[$1] == "" || $2 < times[$1]) { | ||
times[$1] = $2 | ||
fuzzers[$1] = $3 | ||
files[$1] = $4 | ||
} | ||
} | ||
|
||
END { | ||
for (h in files) { | ||
t = times[h] | ||
fz = fuzzers[h] | ||
f = files[h] | ||
print h, t, fz, f | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
$1 == "Hash:" { | ||
current_hash = $2 | ||
} | ||
|
||
$1 == "Fuzzer:" { | ||
current_fuzzer = $2 | ||
} | ||
|
||
$1 == "File:" { | ||
("date -r "$2" '+%s'")|getline date_s | ||
date=strtonum(date_s) | ||
if (files[current_hash] == "" || date < dates[current_hash]) { | ||
dates[current_hash] = date | ||
fuzzers[current_hash] = current_fuzzer | ||
files[current_hash] = $2 | ||
} | ||
} | ||
|
||
END { | ||
for (h in files) { | ||
f = files[h] | ||
d = dates[h] | ||
fz = fuzzers[h] | ||
print h, d - start_time, fz, f | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
if ($1 in times) { | ||
times[$1] = times[$1] SUBSEP $2 | ||
} else { | ||
times[$1] = $2 | ||
} | ||
} | ||
|
||
END { | ||
idx = 0 | ||
for (h in times) { | ||
n = split(times[h], ts, SUBSEP) | ||
for (i = 1; i < n + 1; i++) { | ||
print idx, h, ts[i] | ||
} | ||
idx++ | ||
} | ||
} | ||
|