diff options
| author | Siddharth M <siddharth.muralee@gmail.com> | 2019-02-05 14:02:45 +0530 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-02-12 14:03:05 +0100 |
| commit | 5917820e51704c8566cc81f3dbcf85e99b99e31c (patch) | |
| tree | 32e6b5ec0ca109275097d0700d335b0bfc323008 /docs/netbsd | |
| parent | 479f37ff1ab617db723aabd8cb266dec8319e09a (diff) | |
Remove instances of executor
Diffstat (limited to 'docs/netbsd')
| -rw-r--r-- | docs/netbsd/README.md | 20 |
1 files changed, 1 insertions, 19 deletions
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. |
