diff options
author | BenoƮt Blanchon <bblanchon@users.noreply.github.com> | 2017-01-10 20:06:20 +0100 |
---|---|---|
committer | Abhishek Arya <inferno@chromium.org> | 2017-01-10 11:06:20 -0800 |
commit | da92a7d062736e3fab64f0ada9bae4955552b0ec (patch) | |
tree | 6c56faebff4fb81200cb86c61531ed4123b4277d /projects/arduinojson | |
parent | ea0d6bd0ffcec84c067e3ca683758438c772d774 (diff) | |
download | oss-fuzz-da92a7d062736e3fab64f0ada9bae4955552b0ec.tar.gz |
add project ArduinoJson (#257)
Diffstat (limited to 'projects/arduinojson')
-rw-r--r-- | projects/arduinojson/Dockerfile | 22 | ||||
-rw-r--r-- | projects/arduinojson/build.sh | 20 | ||||
-rw-r--r-- | projects/arduinojson/project.yaml | 6 |
3 files changed, 48 insertions, 0 deletions
diff --git a/projects/arduinojson/Dockerfile b/projects/arduinojson/Dockerfile new file mode 100644 index 000000000..6929136d6 --- /dev/null +++ b/projects/arduinojson/Dockerfile @@ -0,0 +1,22 @@ +# Copyright 2016 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 ossfuzz/base-builder +MAINTAINER oss-fuzz@benoitblanchon.fr +RUN apt-get install -y make zip git +RUN git clone --depth 1 https://github.com/bblanchon/ArduinoJson.git +WORKDIR ArduinoJson +COPY build.sh $SRC/ diff --git a/projects/arduinojson/build.sh b/projects/arduinojson/build.sh new file mode 100644 index 000000000..db82ac49e --- /dev/null +++ b/projects/arduinojson/build.sh @@ -0,0 +1,20 @@ +#!/bin/bash -eu +# Copyright 2016 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. +# +################################################################################ + +# build fuzzers +cd fuzzing +make diff --git a/projects/arduinojson/project.yaml b/projects/arduinojson/project.yaml new file mode 100644 index 000000000..98eb634cf --- /dev/null +++ b/projects/arduinojson/project.yaml @@ -0,0 +1,6 @@ +homepage: "https://github.com/bblanchon/ArduinoJson" +primary_contact: "oss-fuzz@benoitblanchon.fr" +sanitizers: + - address + - undefined + - memory |