diff --git a/projects/go-redis/Dockerfile b/projects/go-redis/Dockerfile new file mode 100644 index 000000000..3bdaf63ad --- /dev/null +++ b/projects/go-redis/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 go get github.com/go-redis/redis +COPY build.sh $SRC/ +WORKDIR $SRC + diff --git a/projects/go-redis/build.sh b/projects/go-redis/build.sh new file mode 100644 index 000000000..1e181d9bc --- /dev/null +++ b/projects/go-redis/build.sh @@ -0,0 +1,16 @@ +#/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/go-redis/redis/fuzz Fuzz fuzz gofuzz diff --git a/projects/go-redis/project.yaml b/projects/go-redis/project.yaml new file mode 100644 index 000000000..b434a042f --- /dev/null +++ b/projects/go-redis/project.yaml @@ -0,0 +1,10 @@ +homepage: "https://github.com/go-redis/redis" +main_repo: "https://github.com/go-redis/redis" +primary_contact: "vladimir.webdev@gmail.com" +auto_ccs : + - "adam@adalogics.com" +language: go +fuzzing_engines: + - libfuzzer +sanitizers: + - address