Skip to content

Commit

Permalink
Add cosmos-sdk project (#5631)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuonglm authored Apr 19, 2021
1 parent b076663 commit 1336f9e
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
21 changes: 21 additions & 0 deletions projects/cosmos-sdk/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 --single-branch --branch fuzz-packages https://github.com/cosmos/cosmos-sdk

COPY build.sh $SRC
WORKDIR $SRC/cosmos-sdk
20 changes: 20 additions & 0 deletions projects/cosmos-sdk/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/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.
#
################################################################################

export FUZZ_ROOT="github.com/cosmos/cosmos-sdk"

compile_go_fuzzer "$FUZZ_ROOT"/fuzz/types/dec/setstring Fuzz fuzz_types_dec_setstring fuzz
8 changes: 8 additions & 0 deletions projects/cosmos-sdk/project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
homepage: "https://github.com/cosmos/cosmos-sdk"
primary_contact: "[email protected]"
language: go
fuzzing_engines:
- libfuzzer
sanitizers:
- address
main_repo: "https://github.com/cosmos/cosmos-sdk"

0 comments on commit 1336f9e

Please sign in to comment.