diff --git a/projects/dulwich/Dockerfile b/projects/dulwich/Dockerfile new file mode 100644 index 000000000..595daf72b --- /dev/null +++ b/projects/dulwich/Dockerfile @@ -0,0 +1,19 @@ +# Copyright 2024 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-python +RUN git clone https://github.com/jelmer/dulwich.git dulwich +RUN $SRC/dulwich/fuzzing/oss-fuzz-scripts/container-environment-bootstrap.sh + +COPY *.sh $SRC/ +WORKDIR $SRC/dulwich diff --git a/projects/dulwich/build.sh b/projects/dulwich/build.sh new file mode 100644 index 000000000..171af2fcc --- /dev/null +++ b/projects/dulwich/build.sh @@ -0,0 +1,18 @@ +#!/bin/bash -eu +# Copyright 2024 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. +# +################################################################################ + +. "$SRC/dulwich/fuzzing/oss-fuzz-scripts/build.sh" diff --git a/projects/dulwich/project.yaml b/projects/dulwich/project.yaml new file mode 100644 index 000000000..3348a7bc0 --- /dev/null +++ b/projects/dulwich/project.yaml @@ -0,0 +1,10 @@ +homepage: "https://github.com/jelmer/dulwich" +main_repo: "https://github.com/jelmer/dulwich" +language: python +primary_contact: "jvernooij@gmail.com" +auto_ccs: + - "david.js.lakin@gmail.com" +fuzzing_engines: + - libfuzzer +sanitizers: + - address