aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/pngquant
diff options
context:
space:
mode:
authorGravatar AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>2021-02-01 15:06:19 +0000
committerGravatar GitHub <noreply@github.com>2021-02-01 07:06:19 -0800
commit958e0abd6885bd78b04662a2df5b6d82d23fb7b5 (patch)
treeb41e261d7be2135f508fb6cdc7e5d9dd09ab8ca0 /projects/pngquant
parent6723257f41e6af213e915804b73317ddbb3d0906 (diff)
[pngquant] Initial integration (#5078)
* [teleport] Initial integration * Minor update to run tests again * [pngquant] Initial integration * Small fix * Removed afl * Updated build files * Update to Dockerfile * Removed fuzzer
Diffstat (limited to 'projects/pngquant')
-rw-r--r--projects/pngquant/Dockerfile22
-rw-r--r--projects/pngquant/project.yaml12
2 files changed, 34 insertions, 0 deletions
diff --git a/projects/pngquant/Dockerfile b/projects/pngquant/Dockerfile
new file mode 100644
index 00000000..8804d680
--- /dev/null
+++ b/projects/pngquant/Dockerfile
@@ -0,0 +1,22 @@
+# 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 apt-get update && apt-get install -y make libpng-dev autoconf libtool
+RUN git clone --depth 1 https://github.com/kornelski/pngquant
+RUN git clone --depth 1 https://github.com/glennrp/libpng.git $SRC/pngquant/libpng
+WORKDIR $SRC/
+RUN mv $SRC/pngquant/test/oss_fuzz_build.sh $SRC/build.sh
diff --git a/projects/pngquant/project.yaml b/projects/pngquant/project.yaml
new file mode 100644
index 00000000..b40ced84
--- /dev/null
+++ b/projects/pngquant/project.yaml
@@ -0,0 +1,12 @@
+homepage: "https://pngquant.org"
+main_repo: "https://github.com/kornelski/pngquant"
+language: c
+primary_contact: "ossfuzz@pngquant.org"
+auto_ccs:
+ - "Adam@adalogics.com"
+sanitizers:
+ - address
+ - undefined
+fuzzing_engines:
+ - libfuzzer
+ - honggfuzz