aboutsummaryrefslogtreecommitdiffstats
path: root/docs/setup_linux-host_qemu-vm_arm64-kernel.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/setup_linux-host_qemu-vm_arm64-kernel.md')
-rw-r--r--docs/setup_linux-host_qemu-vm_arm64-kernel.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/setup_linux-host_qemu-vm_arm64-kernel.md b/docs/setup_linux-host_qemu-vm_arm64-kernel.md
index 3d21d8497..2c363dafc 100644
--- a/docs/setup_linux-host_qemu-vm_arm64-kernel.md
+++ b/docs/setup_linux-host_qemu-vm_arm64-kernel.md
@@ -119,7 +119,18 @@ Reboot the machine, and ensure that you can ssh from host to guest as.
## Build syzkaller
-Instructions can be found [here](https://github.com/google/syzkaller/blob/master/README.md).
+Native-compile the syz-manager:
+
+ $GOROOT/bin/go build -o bin/syz-manager ./syz-manager
+
+Cross-compile the syz-fuzzer, syz-execprog:
+
+ GOARCH=arm64 $GOROOT/bin/go build -o bin/syz-fuzzer ./syz-fuzzer
+ GOARCH=arm64 $GOROOT/bin/go build -o bin/syz-execprog ./syz-execprog
+
+Cross-compile the syz-executor (Note that the cross compiler should be the same as the one used to compile the Linux kernel):
+
+ /gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ executor/executor.cc -O1 -g -Wall -static -o bin/syz-executor -lpthread
## Modify your config file and start off syzkaller