@@ -63,16 +63,7 @@ func Fuzz(data []byte) int {
6363### Setting up the development environment
6464
6565``` bash
66- docker run -it golang:1.12.7-buster /bin/bash
67-
68- # Download Clang-9
69- echo " deb http://apt.llvm.org/buster/ llvm-toolchain-buster main" >> /etc/apt/sources.list
70- echo " deb-src http://apt.llvm.org/buster/ llvm-toolchain-buster main" >> /etc/apt/sources.list
71- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add -
72- apt update && apt install -y clang-9 lldb-9 lld-9
73-
74- # Download go-fuzz and go-fuzz-build
75- go get -u github.com/dvyukov/go-fuzz/go-fuzz github.com/dvyukov/go-fuzz/go-fuzz-build
66+ docker run -it gcr.io/fuzzit-public/buster-golang12:2dc7875 /bin/bash
7667
7768# Download this example
7869go get github.com/fuzzitdev/example-go
@@ -83,7 +74,7 @@ go get github.com/fuzzitdev/example-go
8374``` bash
8475cd /go/src/github.com/fuzzitdev/example-go
8576go-fuzz-build -libfuzzer -o parse-complex.a .
86- clang-9 -fsanitize=fuzzer parse-complex.a -o parse-complex
77+ clang -fsanitize=fuzzer parse-complex.a -o parse-complex
8778```
8879
8980### Running the fuzzer
@@ -162,7 +153,7 @@ Here is the relevant snippet from the [fuzzit.sh](https://github.com/fuzzitdev/e
162153which is being run by [ .travis.yml] ( https://github.com/fuzzitdev/example-go/blob/master/.travis.yml )
163154
164155``` bash
165- wget -q -O fuzzit https://github.com/fuzzitdev/fuzzit/releases/download/v2.4.17 /fuzzit_Linux_x86_64
156+ wget -q -O fuzzit https://github.com/fuzzitdev/fuzzit/releases/download/v2.4.35 /fuzzit_Linux_x86_64
166157chmod a+x fuzzit
167158
168159# # upload fuzz target for long fuzz testing on fuzzit.dev server or run locally for regression
0 commit comments