diff options
| author | Taras Madan <tarasmadan@google.com> | 2021-09-28 19:24:44 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2021-09-29 13:23:24 +0200 |
| commit | 6301d9de5414243a8e3ed9cc68b8446d9cfbb757 (patch) | |
| tree | 03aee08c95395ae8e70726c5dae4ed78a0d5dab1 /docs/executing_syzkaller_programs.md | |
| parent | dab80c1452e554e74214aa31fbb35ffe51495f97 (diff) | |
docs: remove $ to simplify the commands copy-paste
Diffstat (limited to 'docs/executing_syzkaller_programs.md')
| -rw-r--r-- | docs/executing_syzkaller_programs.md | 14 |
1 files changed, 7 insertions, 7 deletions
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: |
