aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux/external_fuzzing_usb.md
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2020-05-06 16:53:06 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-05-07 11:26:03 +0200
commitec4026808b7fe798de3937f220889403e83611aa (patch)
treebe2bd668a08082053e02f347cdb9ade86cb6d651 /docs/linux/external_fuzzing_usb.md
parent4618eb2da0bb479f25c3d0b33a78436971a18946 (diff)
docs: move go install instructions to setup.md
Also update go version requirement to 1.13.
Diffstat (limited to 'docs/linux/external_fuzzing_usb.md')
-rw-r--r--docs/linux/external_fuzzing_usb.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/linux/external_fuzzing_usb.md b/docs/linux/external_fuzzing_usb.md
index dc0d33a42..631d0b1b3 100644
--- a/docs/linux/external_fuzzing_usb.md
+++ b/docs/linux/external_fuzzing_usb.md
@@ -137,14 +137,14 @@ These instructions describe how to set this up on a Raspberry Pi Zero W, but any
8. Download and install Go:
``` bash
- curl https://dl.google.com/go/go1.10.8.linux-armv6l.tar.gz -o go1.10.8.linux-armv6l.tar.gz
- tar -xf go1.10.8.linux-armv6l.tar.gz
- mv go goroot-1.10.8
- mkdir gopath-1.10.8
- export GOPATH=~/gopath-1.10.8
- export GOROOT=~/goroot-1.10.8
- export PATH=~/goroot-1.10.8/bin:$PATH
- export PATH=~/gopath-1.10.8/bin:$PATH
+ curl https://dl.google.com/go/go1.14.2.linux-armv6l.tar.gz -o go.linux-armv6l.tar.gz
+ tar -xf go.linux-armv6l.tar.gz
+ mv go goroot
+ mkdir gopath
+ export GOPATH=~/gopath
+ export GOROOT=~/goroot
+ export PATH=~/goroot/bin:$PATH
+ export PATH=~/gopath/bin:$PATH
```
9. Download syzkaller, apply the patch below and build `syz-executor`:
@@ -184,7 +184,7 @@ These instructions describe how to set this up on a Raspberry Pi Zero W, but any
``` bash
go get -u -d github.com/google/syzkaller/prog
- cd ~/gopath-1.10.8/src/github.com/google/syzkaller
+ cd ~/gopath/src/github.com/google/syzkaller
# Put the patch above into ./syzkaller.patch
git apply ./syzkaller.patch
make executor