aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/aspell
diff options
context:
space:
mode:
authorGravatar Max Dymond <cmeister2@gmail.com>2019-07-29 18:52:42 +0100
committerGravatar Max Moroz <mmoroz@chromium.org>2019-07-29 10:52:42 -0700
commit8adb1a1fcc65bfe70fecb6b6b2bd069866c260fb (patch)
treecbd4a12c76745f8b3fbb481b6484f1f7aac1696c /projects/aspell
parent535f9260e238949b3fa945db71233ffb7f62f649 (diff)
[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
Diffstat (limited to 'projects/aspell')
-rw-r--r--projects/aspell/Dockerfile24
-rwxr-xr-xprojects/aspell/build.sh19
-rw-r--r--projects/aspell/project.yaml10
3 files changed, 53 insertions, 0 deletions
diff --git a/projects/aspell/Dockerfile b/projects/aspell/Dockerfile
new file mode 100644
index 00000000..63f0d73a
--- /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 00000000..77d3f65d
--- /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 00000000..6c8f4d19
--- /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