diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-07-04 12:41:40 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-07-04 15:05:30 +0200 |
| commit | 74cb4e09a50b0f8cc45fce9ac072d1079eb03b42 (patch) | |
| tree | af9ed84de62047053e941c5e08d979fa200535b0 /tools/docker/env/Dockerfile | |
| parent | c7d7f10bdff703e4a3c0414e8a33d4e45c91eb35 (diff) | |
go.mod: add go-fuzz-build
Otherwise go-fuzz-build now fails with:
+ go-fuzz-build -libfuzzer -func FuzzDeserialize -o fuzzer.a ./prog/test
-: cannot find package "." in:
/syzkaller/gopath/src/github.com/google/syzkaller/vendor/github.com/dvyukov/go-fuzz/go-fuzz-dep
Diffstat (limited to 'tools/docker/env/Dockerfile')
| -rw-r--r-- | tools/docker/env/Dockerfile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/docker/env/Dockerfile b/tools/docker/env/Dockerfile index 87184f84a..c1152a9a6 100644 --- a/tools/docker/env/Dockerfile +++ b/tools/docker/env/Dockerfile @@ -2,7 +2,7 @@ # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. # The image provides dev environment suitable for syzkaller development/testing. -# It includes Go toolchain, C/C++ cross-compilers and go-fuzz. +# It includes Go toolchain and C/C++ cross-compilers. # The image is available as gcr.io/syzkaller/env. @@ -36,9 +36,6 @@ RUN curl https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz | tar -C /usr/loca ENV PATH /usr/local/go/bin:/gopath/bin:$PATH ENV GOPATH /gopath -# For go-fuzz we also need sources (go-fuzz-dep). -RUN go get github.com/dvyukov/go-fuzz/go-fuzz github.com/dvyukov/go-fuzz/go-fuzz-build - # Pre-create dirs for syz-dock. # This is necessary to make docker work with the current user, # otherwise --volume will create these dirs under root and then |
