diff --git a/projects/aspell/Dockerfile b/projects/aspell/Dockerfile new file mode 100644 index 000000000..63f0d73af --- /dev/null +++ b/projects/aspell/Dockerfile @@ -0,0 +1,24 @@ +# Copyright 2019 Google Inc. +# +# 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 +MAINTAINER cmeister2@gmail.com + +# RUN git clone --depth 1 https://github.com/gnuaspell/aspell.git /src/aspell +RUN git clone --depth 1 -b cmeister2/ossfuzz https://github.com/cmeister2/aspell.git /src/aspell + +WORKDIR $SRC/aspell +COPY build.sh $SRC/ diff --git a/projects/aspell/build.sh b/projects/aspell/build.sh new file mode 100755 index 000000000..77d3f65da --- /dev/null +++ b/projects/aspell/build.sh @@ -0,0 +1,19 @@ +#!/bin/bash -eu +# Copyright 2019 Google Inc. +# +# 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. +# +################################################################################ + +# Run the OSS-Fuzz script in the project. +./ossfuzz/ossfuzz.sh diff --git a/projects/aspell/project.yaml b/projects/aspell/project.yaml new file mode 100644 index 000000000..6c8f4d193 --- /dev/null +++ b/projects/aspell/project.yaml @@ -0,0 +1,10 @@ +homepage: "https://github.com/GNUAspell/aspell" +primary_contact: "kevina@gnu.org" +auto_ccs: + - "kevinatkn@gmail.com" + - "cmeister2@gmail.com" +sanitizers: + - address + - undefined + - memory: + experimental: true