Target options Target Architecture - Aarch64 (little endian) Toolchain type External toolchain - Linaro AArch64 System Configuration [*] Enable root login with password ( ) Root password = set your password using this option [*] Run a getty (login prompt) after boot ---> TTY port - ttyAMA0 Target packages [*] Show packages that are also provided by busybox Networking applications [*] dhcpcd [*] iproute2 [*] openssh Filesystem images # 这里也可以改成 cpio [*] ext2/3/4 root filesystem ext2/3/4 variant - ext3 exact size in blocks - 6000000 [*] tar the root filesystem
这里我toolchain type 使用 External toolchain 的默认选项。 使用 make 命令编译。
{ "target":"linux/amd64", "http":"0.0.0.0:56741", # !! Replace /syzkaller with the path to the syzkaller checkout. # Workdir can be in whatever folder, keeping it in the checkout is just most convenient. "workdir":"./testdata/syzkaller/workdir", # !! Replace /linux with the path to the kernel checkout. # !! The kernel must be already built. # Here are the kernel config options that facilitate fuzzing: https://github.com/google/syzkaller/blob/master/docs/linux/kernel_configs.md "kernel_obj":"/linux", # !! Replace with the path to the disk image file. # The Buildroot image used by syzbot can be downloaded here: https://storage.googleapis.com/syzkaller/images/buildroot_amd64_2024.09.gz # (Don't forget to uncompress it!). "image":"./testdata/wheezy.img", # !! Replace with the path to the syzkaller checkout. "syzkaller":"./testdata/syzkaller", "procs":4, "type":"qemu", "vm":{ "count":4, # !! Adjust this path accordingly. "kernel":"/linux/arch/x86/boot/bzImage", # Note that syzkaller will use `count` * `cpu` CPUs and `count` * `mem` RAM. "cpu":2, "mem":2048 } }