Skip to content

Commit 01c1f74

Browse files
authored
Merge pull request #3 from SQLab/Lab7
fix: update Lab7/README.md
2 parents 7db6a4d + 4e7fa1e commit 01c1f74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Lab7/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ In this lab, you will write a LLVM pass in `llvm-pass/afl-demo-pass.so.cc` and `
1313
## Requirement
1414

1515
**(100%)** In this lab, you will write a LLVM pass in `llvm-pass/afl-demo-pass.so.cc` & `llvm-pass/afl-demo-rt.o.c` and satisfy the following requirements.
16-
1. When running afl++ to fuzz `program`, `program` can't crash by `system("echo AAA");` at line 34 in `program.c`. It's not command injection, and you will see the error message below when you try to fuzz:
16+
1. When running afl++ to fuzz the `program`, the `program` can't crash by `system("echo AAA");` at line 34 in `program.c`. It's not command injection, and you will see the error message below when you try to fuzz:
1717
```
1818
[-] PROGRAM ABORT : We need at least one valid input seed that does not crash!
1919
```
2020
Of course, you can not just detect this line to avoid it. We will modify this command and add additional system functions (which won't cause command injection) in `program.c` during testing with your fuzzer.
21-
2. When running afl++ to fuzz `program`, the fuzzer needs to find the command injection `system(cmd)` at line 18 in `program.c`.
21+
2. When running afl++ to fuzz the `program`, the fuzzer needs to find the command injection `system(cmd)` at line 18 in `program.c`.
2222
3. Write a report in `{student_ID}.pdf` to explain your work.
23-
- Your report must include the following sections
23+
- Your report must include the following sections.
2424
- Your name and student ID,
2525
- Explanation of your work
2626
- Copy the crash fuzzer report and crash input (use `xxd`) in `{student_ID}.pdf`.
@@ -71,7 +71,7 @@ In this lab, you will write a LLVM pass in `llvm-pass/afl-demo-pass.so.cc` and `
7171
7272
## Submission
7373
74-
1. Lab7 will not have github ci, so the grade of Lab7 will be determined with your report `{studemt_ID}.pdf`
74+
1. Lab7 will not have GitHub CI, so the grade of Lab7 will be determined with your report `{student_ID}.pdf`
7575
2. Submit the report `{student_ID}.pdf` to explain your work.
7676
3. You must submit these two files `llvm-pass/afl-demo-pass.so.cc` and `llvm-pass/afl-demo-rt.o.c`.
7777
4. You need to commit and push the corresponding changes to your repository, which contains the code that satisfies the aforementioned requirements.

0 commit comments

Comments
 (0)