From 5917820e51704c8566cc81f3dbcf85e99b99e31c Mon Sep 17 00:00:00 2001 From: Siddharth M Date: Tue, 5 Feb 2019 14:02:45 +0530 Subject: Remove instances of executor --- docs/netbsd/README.md | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'docs/netbsd') diff --git a/docs/netbsd/README.md b/docs/netbsd/README.md index 43e438d4d..896cf0986 100644 --- a/docs/netbsd/README.md +++ b/docs/netbsd/README.md @@ -36,8 +36,7 @@ Instructions to set up syzkaller for a Linux Host and an amd64 NetBSD kernel. $ make TARGETOS=netbsd SOURCEDIR=path/to/netbsd/src ``` -The above steps should have built the Syzkaller binaries (Except the syz-executor -binary) for NetBSD. +The above steps should have built the Syzkaller binaries for NetBSD. You can see the compiled binaries in `bin/netbsd_amd64`. @@ -85,23 +84,6 @@ configure ssh. If the last command returns a proper shell it means the VM has been configured. -## Compiling the executor binary - -Syzkaller doesn't support compiling the executor binary on a linux host hence you have -to copy the required files to the NetBSD guest and compile them separately. - -1. Copy the content of the `executor/` folder to the NetBSD guest. (You can use the - scp command for the same) - -2. Compile the executor binary with the following command on the guest. (replace - GIT_VERSION_HERE with the output of `git rev-parse HEAD` in the host) - ```sh - $ gcc executor.cc -o syz-executor -O1 -lpthread -DGOOS_netbsd=1 -DGOARCH_amd64=1 -DGIT_REVISION=\"GIT_VERSION_HERE\" - ``` - -3. Copy the `syz-executor` file back to `bin/netbsd_amd64` on the linux host. - - ## Compiling a NetBSD kernel (Optional) You can compile a kernel with KASAN to increase the chances of finding bugs. -- cgit mrf-deployment