2019-08-16 17:55:55 +00:00
|
|
|
# Copyright 2019 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-08-30 13:57:23 +00:00
|
|
|
FROM gcr.io/oss-fuzz-base/base-builder-go
|
2019-08-16 17:55:55 +00:00
|
|
|
|
2021-04-06 13:10:36 +00:00
|
|
|
RUN git clone --depth 1 https://github.com/dvyukov/go-fuzz-corpus golang
|
2022-08-12 15:29:23 +00:00
|
|
|
RUN git clone --depth 1 https://github.com/golang/go
|
2022-08-24 22:56:42 +00:00
|
|
|
RUN git clone --depth 1 https://github.com/golang/net
|
2022-09-01 21:56:03 +00:00
|
|
|
RUN git clone --depth 1 https://github.com/golang/image
|
2022-08-12 15:29:23 +00:00
|
|
|
COPY build.sh text_fuzzer.go \
|
|
|
|
math_big_fuzzer.go \
|
|
|
|
fuzz_tar_reader.go \
|
|
|
|
fuzz_tar_reader.options \
|
2022-08-18 16:36:34 +00:00
|
|
|
regexp_fuzzer.go \
|
|
|
|
language_fuzzer.go \
|
|
|
|
unicode_fuzzer.go \
|
2022-08-20 18:35:10 +00:00
|
|
|
x509_fuzzer.go \
|
|
|
|
ecdsa_fuzzer.go \
|
|
|
|
aes_fuzzer.go \
|
2022-08-24 22:56:42 +00:00
|
|
|
h2c_fuzzer.go \
|
|
|
|
fuzz_h2c.options \
|
2022-09-01 21:56:03 +00:00
|
|
|
elf_fuzzer.go \
|
|
|
|
tiff_fuzzer.go \
|
|
|
|
fuzz_tiff_decode.options $SRC/
|
2019-08-16 17:55:55 +00:00
|
|
|
|
2019-08-21 19:08:22 +00:00
|
|
|
WORKDIR $SRC/golang
|