diff options
author | Guido Vranken <guidovranken@users.noreply.github.com> | 2019-06-18 21:47:04 +0200 |
---|---|---|
committer | Max Moroz <mmoroz@chromium.org> | 2019-06-18 12:47:04 -0700 |
commit | 32bfcebcd20858edd6106343c9532bf597dcf4b1 (patch) | |
tree | ab961e12f765525fc589ab7e2494d3d8b7473cbc /projects | |
parent | 1a629a2c9b34ca2e7b97b72ad4928475c6431e1c (diff) |
[piex] Add piex fuzzer (#2345)
* [piex] Add piex fuzzer
* [piex] Add fuzzer-piex
Diffstat (limited to 'projects')
-rw-r--r-- | projects/piex/Dockerfile | 22 | ||||
-rwxr-xr-x | projects/piex/build.sh | 26 | ||||
-rw-r--r-- | projects/piex/project.yaml | 6 |
3 files changed, 54 insertions, 0 deletions
diff --git a/projects/piex/Dockerfile b/projects/piex/Dockerfile new file mode 100644 index 00000000..9adb45dc --- /dev/null +++ b/projects/piex/Dockerfile @@ -0,0 +1,22 @@ +# 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 guidovranken@gmail.com +RUN apt-get update && apt-get install -y make autoconf automake libtool +RUN git clone https://github.com/guidovranken/piex.git piex +WORKDIR piex +COPY build.sh $SRC/ diff --git a/projects/piex/build.sh b/projects/piex/build.sh new file mode 100755 index 00000000..a0cc3761 --- /dev/null +++ b/projects/piex/build.sh @@ -0,0 +1,26 @@ +#!/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. +# +################################################################################ + +git checkout fuzzers +cd fuzzers +make + +cp fuzzer-tiff_parser $OUT/ +cp fuzzer-tiff_parser_seed_corpus.zip $OUT/ + +cp fuzzer-piex $OUT/ +cp fuzzer-piex_seed_corpus.zip $OUT/ diff --git a/projects/piex/project.yaml b/projects/piex/project.yaml new file mode 100644 index 00000000..9afd689f --- /dev/null +++ b/projects/piex/project.yaml @@ -0,0 +1,6 @@ +homepage: "https://github.com/google/piex" +primary_contact: "guidovranken@gmail.com" +sanitizers: + - address + - undefined + - memory |