File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed
Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 22
33The operation of the syzkaller ` syz-manager ` process is governed by a
44configuration file, passed at invocation time with the ` -config ` option.
5- This configuration can be based on the [ example] ( /pkg/mgrconfig/testdata/qemu.cfg ) ;
5+ This configuration can be based on the [ example] ( /pkg/mgrconfig/testdata/qemu-example .cfg ) ;
66the file is in JSON format and contains the the [ following parameters] ( /pkg/mgrconfig/config.go ) .
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ https://groups.google.com/d/msg/syzkaller/fHZ42YrQM-Y/Z4Xf-BbUDgAJ.
241241
242242This process is automated to some degree in the ` syz-repro ` utility. You need to
243243give it your manager config and a crash report file. And you can refer to the
244- [ example config file] ( /pkg/mgrconfig/testdata/qemu.cfg ) .
244+ [ example config file] ( /pkg/mgrconfig/testdata/qemu-example .cfg ) .
245245```
246246./syz-repro -config my.cfg crash-qemu-1-1455745459265726910
247247```
Original file line number Diff line number Diff line change 1+ {
2+ " target" : " linux/amd64" ,
3+ " http" : " 0.0.0.0:56741" ,
4+ # !! Replace /syzkaller with the path to the syzkaller checkout.
5+ # Workdir can be in whatever folder, keeping it in the checkout is just most convenient.
6+ " workdir" : " ./testdata/syzkaller/workdir" ,
7+ # !! Replace /linux with the path to the kernel checkout.
8+ # !! The kernel must be already built.
9+ # Here are the kernel config options that facilitate fuzzing: https://github.com/google/syzkaller/blob/master/docs/linux/kernel_configs.md
10+ " kernel_obj" : " /linux" ,
11+ # !! Replace with the path to the disk image file.
12+ # The Buildroot image used by syzbot can be downloaded here: https://storage.googleapis.com/syzkaller/images/buildroot_amd64_2024.09.gz
13+ # (Don't forget to uncompress it!).
14+ " image" : " ./testdata/wheezy.img" ,
15+ # !! Replace with the path to the syzkaller checkout.
16+ " syzkaller" : " ./testdata/syzkaller" ,
17+ " procs" : 4,
18+ " type" : " qemu" ,
19+ " vm" : {
20+ " count" : 4,
21+ # !! Adjust this path accordingly.
22+ " kernel" : " /linux/arch/x86/boot/bzImage" ,
23+ # Note that syzkaller will use `count` * `cpu` CPUs and `count` * `mem` RAM.
24+ " cpu" : 2,
25+ " mem" : 2048
26+ }
27+ }
You can’t perform that action at this time.
0 commit comments