aboutsummaryrefslogtreecommitdiff
path: root/projects/tailscale
diff options
context:
space:
mode:
authorAdamKorcz <44787359+AdamKorcz@users.noreply.github.com>2021-05-24 15:17:40 +0100
committerGitHub <noreply@github.com>2021-05-24 07:17:40 -0700
commitac9a480f71653c55f225a6e82cfd30ddc1de9dd7 (patch)
treea3285c958a3998884b8cdab552b287592bfbb7f4 /projects/tailscale
parentc50f50365eacdb98133081605d6ccc337727bf5b (diff)
downloadoss-fuzz-ac9a480f71653c55f225a6e82cfd30ddc1de9dd7.tar.gz
[tailscale] Initial integration (#5614)
Diffstat (limited to 'projects/tailscale')
-rw-r--r--projects/tailscale/Dockerfile20
-rw-r--r--projects/tailscale/build.sh18
-rw-r--r--projects/tailscale/project.yaml12
3 files changed, 50 insertions, 0 deletions
diff --git a/projects/tailscale/Dockerfile b/projects/tailscale/Dockerfile
new file mode 100644
index 000000000..74add6618
--- /dev/null
+++ b/projects/tailscale/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/tailscale/tailscale
+COPY build.sh $SRC/
+WORKDIR $SRC/tailscale
diff --git a/projects/tailscale/build.sh b/projects/tailscale/build.sh
new file mode 100644
index 000000000..47f281ad7
--- /dev/null
+++ b/projects/tailscale/build.sh
@@ -0,0 +1,18 @@
+#!/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 tailscale.com/net/stun FuzzStunParser stun_parser_fuzzer
diff --git a/projects/tailscale/project.yaml b/projects/tailscale/project.yaml
new file mode 100644
index 000000000..06698fd79
--- /dev/null
+++ b/projects/tailscale/project.yaml
@@ -0,0 +1,12 @@
+homepage: "https://tailscale.com/"
+main_repo: "https://github.com/tailscale/tailscale"
+primary_contact: "Adam@adalogics.com"
+auto_ccs :
+ - "josh@tailscale.com"
+ - "danderson@tailscale.com"
+ - "bradfitz@tailscale.com"
+language: go
+fuzzing_engines:
+ - libfuzzer
+sanitizers:
+ - address