aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/containerd
diff options
context:
space:
mode:
authorGravatar AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>2021-05-24 15:14:28 +0100
committerGravatar GitHub <noreply@github.com>2021-05-24 07:14:28 -0700
commitc50f50365eacdb98133081605d6ccc337727bf5b (patch)
tree5e80783747865084f58b9c47c9e5a3998c7cb1b0 /projects/containerd
parentc2abaa0bd34f0d7dbfb5e2455de3f22f30d3e061 (diff)
[containerd] Initial integration (#4839)
Diffstat (limited to 'projects/containerd')
-rw-r--r--projects/containerd/Dockerfile20
-rw-r--r--projects/containerd/build.sh19
-rw-r--r--projects/containerd/project.yaml10
3 files changed, 49 insertions, 0 deletions
diff --git a/projects/containerd/Dockerfile b/projects/containerd/Dockerfile
new file mode 100644
index 00000000..6859fadb
--- /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 00000000..e89e0c68
--- /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 00000000..4875cd66
--- /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