From 6301d9de5414243a8e3ed9cc68b8446d9cfbb757 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Tue, 28 Sep 2021 19:24:44 +0000 Subject: docs: remove $ to simplify the commands copy-paste --- docs/executing_syzkaller_programs.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/executing_syzkaller_programs.md') diff --git a/docs/executing_syzkaller_programs.md b/docs/executing_syzkaller_programs.md index cbe0aecee..5948c1012 100644 --- a/docs/executing_syzkaller_programs.md +++ b/docs/executing_syzkaller_programs.md @@ -7,30 +7,30 @@ execution log with several programs. 1. Setup Go toolchain (if you don't yet have it, you need version 1.13 or higher): Download latest Go distribution from (https://golang.org/dl/). Unpack it to `$HOME/goroot`. ``` bash -$ export GOROOT=$HOME/goroot -$ export GOPATH=$HOME/gopath +export GOROOT=$HOME/goroot +export GOPATH=$HOME/gopath ``` 2. Download syzkaller sources: ``` bash -$ go get -u -d github.com/google/syzkaller/prog +go get -u -d github.com/google/syzkaller/prog ``` 3. Build necessary syzkaller binaries: ``` bash -$ cd $GOPATH/src/github.com/google/syzkaller -$ make +cd $GOPATH/src/github.com/google/syzkaller +make ``` 4. Copy binaries and the program to test machine (substitute target `linux_amd64` as necessary): ``` bash -$ scp -P 10022 -i stretch.img.key bin/linux_amd64/syz-execprog bin/linux_amd64/syz-executor program root@localhost: +scp -P 10022 -i stretch.img.key bin/linux_amd64/syz-execprog bin/linux_amd64/syz-executor program root@localhost: ``` 5. Run the program on the test machine: ``` bash -$ ./syz-execprog -repeat=0 -procs=8 program +./syz-execprog -repeat=0 -procs=8 program ``` Several useful `syz-execprog` flags: -- cgit mrf-deployment