aboutsummaryrefslogtreecommitdiff
path: root/projects/tendermint
diff options
context:
space:
mode:
authorCuong Manh Le <cuong@orijtech.com>2021-06-28 20:48:58 +0700
committerGitHub <noreply@github.com>2021-06-28 06:48:58 -0700
commitc1d9b023bf67941d34b9dd9d4d20eab42a384ceb (patch)
tree5d33c363aa343658c79c8a3bd767df5ab0c0b766 /projects/tendermint
parent84ea9561f73a4a3b20563fe40bbb99da3006f75e (diff)
downloadoss-fuzz-c1d9b023bf67941d34b9dd9d4d20eab42a384ceb.tar.gz
[tendermint] Add project (#5907)
Diffstat (limited to 'projects/tendermint')
-rw-r--r--projects/tendermint/Dockerfile21
-rwxr-xr-xprojects/tendermint/build.sh18
-rw-r--r--projects/tendermint/project.yaml12
3 files changed, 51 insertions, 0 deletions
diff --git a/projects/tendermint/Dockerfile b/projects/tendermint/Dockerfile
new file mode 100644
index 000000000..23833aa36
--- /dev/null
+++ b/projects/tendermint/Dockerfile
@@ -0,0 +1,21 @@
+# 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 https://github.com/tendermint/tendermint
+
+COPY build.sh $SRC
+WORKDIR $SRC/tendermint
diff --git a/projects/tendermint/build.sh b/projects/tendermint/build.sh
new file mode 100755
index 000000000..8981352c7
--- /dev/null
+++ b/projects/tendermint/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.
+#
+################################################################################
+
+bash -x ./test/fuzz/oss-fuzz-build.sh
diff --git a/projects/tendermint/project.yaml b/projects/tendermint/project.yaml
new file mode 100644
index 000000000..a2684fe95
--- /dev/null
+++ b/projects/tendermint/project.yaml
@@ -0,0 +1,12 @@
+homepage: "https://github.com/tendermint/tendermint"
+primary_contact: "security@tendermint.com"
+auto_ccs:
+ - fuzzing@orijtech.com
+ - emmanuel@orijtech.com
+ - cuong@orijtech.com
+language: go
+fuzzing_engines:
+ - libfuzzer
+sanitizers:
+ - address
+main_repo: "https://github.com/tendermint/tendermint"