diff --git a/projects/smt/Dockerfile b/projects/smt/Dockerfile new file mode 100644 index 000000000..422571b45 --- /dev/null +++ b/projects/smt/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/celestiaorg/smt + +COPY build.sh $SRC +WORKDIR $SRC/smt diff --git a/projects/smt/build.sh b/projects/smt/build.sh new file mode 100755 index 000000000..48547497b --- /dev/null +++ b/projects/smt/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 ./oss-fuzz-build.sh diff --git a/projects/smt/project.yaml b/projects/smt/project.yaml new file mode 100644 index 000000000..471479e5e --- /dev/null +++ b/projects/smt/project.yaml @@ -0,0 +1,12 @@ +homepage: "https://github.com/celestiaorg/smt" +primary_contact: "ismail@celestia.org" +auto_ccs: + - fuzzing@orijtech.com + - emmanuel@orijtech.com + - cuong@orijtech.com +language: go +fuzzing_engines: + - libfuzzer +sanitizers: + - address +main_repo: "https://github.com/celestiaorg/smt"