diff --git a/projects/containerd/Dockerfile b/projects/containerd/Dockerfile new file mode 100644 index 000000000..6859fadba --- /dev/null +++ b/projects/containerd/Dockerfile @@ -0,0 +1,20 @@ +# Copyright 2021 Google LLC +# +# 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. +# +################################################################################ + +FROM gcr.io/oss-fuzz-base/base-builder +RUN git clone --depth 1 https://github.com/containerd/containerd +COPY build.sh $SRC/ +WORKDIR $SRC/containerd diff --git a/projects/containerd/build.sh b/projects/containerd/build.sh new file mode 100644 index 000000000..e89e0c681 --- /dev/null +++ b/projects/containerd/build.sh @@ -0,0 +1,19 @@ +#/bin/bash -eu +# Copyright 2021 Google LLC +# +# 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. +# +################################################################################ + +compile_go_fuzzer github.com/containerd/containerd/contrib/fuzz FuzzFiltersParse fuzz_filters_parse +compile_go_fuzzer github.com/containerd/containerd/contrib/fuzz FuzzPlatformsParse fuzz_platforms_parse diff --git a/projects/containerd/project.yaml b/projects/containerd/project.yaml new file mode 100644 index 000000000..4875cd66a --- /dev/null +++ b/projects/containerd/project.yaml @@ -0,0 +1,10 @@ +homepage: "https://github.com/containerd/containerd" +main_repo: "https://github.com/containerd/containerd" +primary_contact: "security@containerd.io" +auto_ccs : + - "adam@adalogics.com" +language: go +fuzzing_engines: + - libfuzzer +sanitizers: + - address