diff --git a/infra/base-images/base-builder-go/Dockerfile b/infra/base-images/base-builder-go/Dockerfile index 977dbca50..6bf92e289 100644 --- a/infra/base-images/base-builder-go/Dockerfile +++ b/infra/base-images/base-builder-go/Dockerfile @@ -24,3 +24,6 @@ ENV GOPATH /root/go ENV PATH $PATH:/root/.go/bin:$GOPATH/bin RUN install_go.sh + +COPY ossfuzz_coverage_runner.go $GOPATH + diff --git a/infra/base-images/base-builder-new/ossfuzz_coverage_runner.go b/infra/base-images/base-builder-go/ossfuzz_coverage_runner.go similarity index 100% rename from infra/base-images/base-builder-new/ossfuzz_coverage_runner.go rename to infra/base-images/base-builder-go/ossfuzz_coverage_runner.go diff --git a/infra/base-images/base-builder-new/Dockerfile b/infra/base-images/base-builder-new/Dockerfile index b5f312300..40e6e4cfc 100644 --- a/infra/base-images/base-builder-new/Dockerfile +++ b/infra/base-images/base-builder-new/Dockerfile @@ -134,8 +134,6 @@ RUN cd $SRC && \ tar -xzv --strip-components=1 -f $SRC/oss-fuzz.tar.gz && \ rm -rf examples $SRC/oss-fuzz.tar.gz -COPY ossfuzz_coverage_runner.go $GOPATH - # Do precompiles before copying other scripts for better cache efficiency. COPY precompile_afl /usr/local/bin/ RUN precompile_afl diff --git a/projects/protoreflect/build.sh b/projects/protoreflect/build.sh index d8a5eff71..3511f83c0 100755 --- a/projects/protoreflect/build.sh +++ b/projects/protoreflect/build.sh @@ -16,5 +16,5 @@ ################################################################################ compile_go_fuzzer github.com/jhump/protoreflect/desc/protoparse FuzzProtoParse fuzz_protoparse -#compile_go_fuzzer github.com/jhump/protoreflect/proto_decoder Fuzz fuzz_dynamic +# compile_go_fuzzer github.com/jhump/protoreflect/proto_decoder Fuzz fuzz_dynamic