diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-06-20 08:42:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-20 08:42:23 +0200 |
| commit | cc4c8e16f294fe735e0b263d7e5712d3700323d9 (patch) | |
| tree | 55416fb6747105611643f15fee39e26b6d967deb /docs | |
| parent | 13bb219fe89b73ddd7082abc4d127e9990955bd7 (diff) | |
| parent | a958ca9369d8aad5d769e43cf403cc781a50bc58 (diff) | |
Merge pull request #240 from daveti/master
arm64 doc update
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/setup_linux-host_qemu-vm_arm64-kernel.md | 13 |
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 |
