Skip to content

Commit

Permalink
update EXP
Browse files Browse the repository at this point in the history
  • Loading branch information
squizz617 committed Aug 19, 2019
1 parent ab18154 commit e7f0c5f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions EXPERIMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,27 @@ system("echo b > /proc/sysrq-trigger");

### 2. Logic bugs

- Checkout **logicbug** branch.
- Enable kernel checkers in LKL by running the provided script:
```
$ cd src
$ ./setup_logicbug.sh
```
- Re-compile Executors:
```
# Assume we're already in src/
$ cd lkl
$ make mrproper
$ ./compile -t btrfs # You can replace btrfs with ext4 / f2fs / xfs
```
- Run fuzzing.
```
// Make sure you are not reusing the input and output directories from another experiments.
// If so, create new directories and use them instead!
$ AFL_SKIP_BIN_CHECK=1 ./combined/afl-image-syscall/afl-fuzz -S fuzzer-lb -b btrfs-lb -s fs/btrfs/btrfs_wrapper.so -e samples/oracle/btrfs-00.image -y seed-lb -i in-lb -o out-lb -u 11 -- lkl/tools/lkl/btrfs-combined -t btrfs -p @@
```
- The bugs will be stored under `out-lb/fuzzer-lb/crashes`.

### 3. Specification violation

### 4. Memory-safety bugs
Expand Down

0 comments on commit e7f0c5f

Please sign in to comment.