Skip to content

[LAB6] 510558017 #599

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 38 commits into from
Jun 26, 2024
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2233c14
fix: improve workflows
AlaRduTP Mar 13, 2024
e2b8057
fix: scripts/rebase-all.sh will fail due to too frequent remote opera…
AlaRduTP Mar 13, 2024
8336df3
feat: lab2
AlaRduTP Mar 13, 2024
0f5c5dd
feat: merge-all
AlaRduTP Mar 13, 2024
5fa8ffe
remove: create-branches.sh
AlaRduTP Mar 20, 2024
354fae7
feat: auto resolve conflicts when merging
AlaRduTP Mar 20, 2024
e49fa08
feat: improve GitHub workflows
AlaRduTP Mar 20, 2024
c895269
feat: lab3
AlaRduTP Mar 20, 2024
22a9521
feat: an easy check for changed files
AlaRduTP Mar 20, 2024
15ca1a7
doc: detailed steps of syncing fork
AlaRduTP Mar 20, 2024
dd650d8
fix: remove trailing whitespace
AlaRduTP Mar 20, 2024
cee6631
feat: add node_modules into gitignore
AlaRduTP Mar 27, 2024
ffbfbd7
feat: lab4
AlaRduTP Mar 27, 2024
5ee9d55
Add lab5
YingMuo Apr 17, 2024
86b3714
Fix github action
YingMuo Apr 17, 2024
c27f68f
Fix README.md
YingMuo Apr 17, 2024
419ed6d
fix: gh-script syntax error
AlaRduTP Apr 17, 2024
41cc403
add: lab6
YingMuo Apr 24, 2024
9777d36
feat: lab6
YingMuo Apr 24, 2024
110400a
fix: lab6
YingMuo Apr 24, 2024
eae2c35
fix: lab6
YingMuo Apr 24, 2024
2063787
Fix: lab6
YingMuo Apr 24, 2024
a2f55d5
Add: lab7
YingMuo May 1, 2024
56585b1
Fix: lab7
YingMuo May 1, 2024
7a945c9
Fix: lab7, angr not installed
YingMuo May 1, 2024
bb5fb3d
feat: add hw4
TaiYou-TW May 30, 2024
b88ef9e
fix: wrong days for hw4 leap year
TaiYou-TW May 30, 2024
3a9853d
Update lab-autograding.yml
as10968574 Jun 11, 2024
cb140de
Update Answer.md
as10968574 Jun 11, 2024
3beb5ff
Merge branch '510558017' into lab6
as10968574 Jun 11, 2024
80e65a6
Update lab-autograding.yml
as10968574 Jun 24, 2024
31329d8
Delete hw4/.gitignore
as10968574 Jun 24, 2024
b417d33
Delete hw4/README.md
as10968574 Jun 24, 2024
8384fca
Delete hw4/package.json
as10968574 Jun 24, 2024
b86c194
Delete hw4/src/calculator.js
as10968574 Jun 24, 2024
c09633c
Delete hw4/stryker.config.json
as10968574 Jun 24, 2024
8698388
Delete hw4/tests/calculator_test.js
as10968574 Jun 24, 2024
4494aba
Delete hw4/package-lock.json
as10968574 Jun 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions lab6/Answer.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,57 @@

Name: 楊杰峰
ID: 510558017

### Fuzz Monitor
```
american fuzzy lop 2.57b (bmpcomp)

┌─ process timing ─────────────────────────────────────┬─ overall results ─────┐
│ run time : 0 days, 0 hrs, 2 min, 48 sec │ cycles done : 0 │
│ last new path : 0 days, 0 hrs, 1 min, 44 sec │ total paths : 9 │
│ last uniq crash : 0 days, 0 hrs, 2 min, 21 sec │ uniq crashes : 1 │
│ last uniq hang : 0 days, 0 hrs, 1 min, 4 sec │ uniq hangs : 2 │
├─ cycle progress ────────────────────┬─ map coverage ─┴───────────────────────┤
│ now processing : 1 (11.11%) │ map density : 0.04% / 0.04% │
│ paths timed out : 0 (0.00%) │ count coverage : 1.69 bits/tuple │
├─ stage progress ────────────────────┼─ findings in depth ────────────────────┤
│ now trying : arith 8/8 │ favored paths : 2 (22.22%) │
│ stage execs : 810/1750 (46.29%) │ new edges on : 2 (22.22%) │
│ total execs : 1615 │ total crashes : 50 (1 unique) │
│ exec speed : 30.33/sec (slow!) │ total tmouts : 286 (4 unique) │
├─ fuzzing strategy yields ───────────┴───────────────┬─ path geometry ────────┤
│ bit flips : 1/224, 1/223, 0/221 │ levels : 4 │
│ byte flips : 0/28, 0/27, 0/25 │ pending : 9 │
│ arithmetics : 0/0, 0/0, 0/0 │ pend fav : 2 │
│ known ints : 0/0, 0/0, 0/0 │ own finds : 1 │
│ dictionary : 0/0, 0/0, 0/0 │ imported : n/a │
│ havoc : 0/0, 0/0 │ stability : 100.00% │
│ trim : 12.50%/7, 0.00% ├────────────────────────┘
│─────────────────────────────────────────────────────┘ [cpu000: 31%]

Name:
ID:

### Fuzz Monitor
```


```

### Run Crash Result
```

jf@jf-VirtualBox:~/510558017/510558017/lab6/fuzz$ ../src/bmpcomp out/crashes/id\:000000\,sig\:06\,src\:000001\,op\:flip1\,pos\:20
size of Header 54
AddressSanitizer:DEADLYSIGNAL
=================================================================
==7016==ERROR: AddressSanitizer: stack-overflow on address 0x7fff3943dbc8 (pc 0x560eae84105d bp 0x7fff39c3c020 sp 0x7fff3943cbd0 T0)
#0 0x560eae84105c in main /home/jf/510558017/510558017/lab6/src/hw0302.c:46
#1 0x7fa09622b082 in __libc_start_main ../csu/libc-start.c:308
#2 0x560eae841b8d in _start (/home/jf/510558017/510558017/lab6/src/bmpcomp+0x2b8d)

SUMMARY: AddressSanitizer: stack-overflow /home/jf/510558017/510558017/lab6/src/hw0302.c:46 in main
==7016==ABORTING


```
Loading