From 8adb1a1fcc65bfe70fecb6b6b2bd069866c260fb Mon Sep 17 00:00:00 2001 From: Max Dymond Date: Mon, 29 Jul 2019 18:52:42 +0100 Subject: [PATCH] [aspell] Add GNUAspell support to OSS Fuzz (#2632) * Add GNUAspell support to OSS Fuzz * Set @kevina's primary address to gnu account * Temporarily point at cmeister2 fork of Aspell to pass CI --- projects/aspell/Dockerfile | 24 ++++++++++++++++++++++++ projects/aspell/build.sh | 19 +++++++++++++++++++ projects/aspell/project.yaml | 10 ++++++++++ 3 files changed, 53 insertions(+) create mode 100644 projects/aspell/Dockerfile create mode 100755 projects/aspell/build.sh create mode 100644 projects/aspell/project.yaml 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