From a958ca9369d8aad5d769e43cf403cc781a50bc58 Mon Sep 17 00:00:00 2001 From: daveti Date: Mon, 19 Jun 2017 20:43:45 -0400 Subject: arm64 doc update --- docs/setup_linux-host_qemu-vm_arm64-kernel.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'docs') 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 -- cgit mrf-deployment