Skip to content

Commit e5f027d

Browse files
authored
Merge pull request #591 from gren26/lab6
[LAB6] 512558008
2 parents e78b3b8 + 419e622 commit e5f027d

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

lab6/Answer.md

+38-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,48 @@
1-
Name:
2-
ID:
1+
Name: 陳谷安
2+
ID: 512558008
33

44
### Fuzz Monitor
55
```
6+
american fuzzy lop 2.57b (bmpcomp)
7+
8+
┌─ process timing ─────────────────────────────────────┬─ overall results ─────┐
9+
│ run time : 0 days, 0 hrs, 3 min, 53 sec │ cycles done : 0 │
10+
│ last new path : 0 days, 0 hrs, 0 min, 38 sec │ total paths : 14 │
11+
│ last uniq crash : 0 days, 0 hrs, 3 min, 35 sec │ uniq crashes : 1 │
12+
│ last uniq hang : 0 days, 0 hrs, 0 min, 5 sec │ uniq hangs : 3 │
13+
├─ cycle progress ────────────────────┬─ map coverage ─┴───────────────────────┤
14+
│ now processing : 0 (0.00%) │ map density : 0.04% / 0.05% │
15+
│ paths timed out : 0 (0.00%) │ count coverage : 1.64 bits/tuple │
16+
├─ stage progress ────────────────────┼─ findings in depth ────────────────────┤
17+
│ now trying : arith 8/8 │ favored paths : 1 (7.14%) │
18+
│ stage execs : 1361/1612 (84.43%) │ new edges on : 3 (21.43%) │
19+
│ total execs : 2265 │ total crashes : 139 (1 unique) │
20+
│ exec speed : 0.00/sec (zzzz...) │ total tmouts : 273 (7 unique) │
21+
├─ fuzzing strategy yields ───────────┴───────────────┬─ path geometry ────────┤
22+
│ bit flips : 5/224, 2/223, 1/221 │ levels : 2 │
23+
│ byte flips : 0/28, 0/27, 0/25 │ pending : 14 │
24+
│ arithmetics : 0/0, 0/0, 0/0 │ pend fav : 1 │
25+
│ known ints : 0/0, 0/0, 0/0 │ own finds : 13 │
26+
│ dictionary : 0/0, 0/0, 0/0 │ imported : n/a │
27+
│ havoc : 0/0, 0/0 │ stability : 100.00% │
28+
│ trim : 100.00%/37, 0.00% ├────────────────────────┘
29+
└─────────────────────────────────────────────────────┘ [cpu: 97%]
30+
631
732
```
833

934
### Run Crash Result
1035
```
36+
ubuntu@ubuntu-VirtualBox:~/桌面/lab6/fuzz$ ../src/bmpcomp ./out/crashes/id\:000000\,sig\:06\,src\:000000\,op\:flip1\,pos\:20
37+
size of Herder 54
38+
AddressSanitizer:DEADLYSIGNAL
39+
=================================================================
40+
==7258==ERROR: AddressSanitizer: stack-overflow on address 0x7ffdcca2b5b8 (pc 0x55e21dad3135 bp 0x7ffdcd22aa10 sp 0x7ffdcca2a5c0 T0)
41+
#0 0x55e21dad3134 in main /home/ubuntu/桌面/lab6/src/hw0302.c:46
42+
#1 0x7fd40d529082 in __libc_start_main ../csu/libc-start.c:308
43+
#2 0x55e21dad3c1d in _start (/home/ubuntu/桌面/lab6/src/bmpcomp+0x2c1d)
44+
45+
SUMMARY: AddressSanitizer: stack-overflow /home/ubuntu/桌面/lab6/src/hw0302.c:46 in main
46+
==7258==ABORTING
1147
1248
```

0 commit comments

Comments
 (0)