add project ArduinoJson (#257)

This commit is contained in:
Benoît Blanchon 2017-01-10 20:06:20 +01:00 committed by Abhishek Arya
parent ea0d6bd0ff
commit da92a7d062
3 changed files with 48 additions and 0 deletions

View File

@ -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/

View File

@ -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

View File

@ -0,0 +1,6 @@
homepage: "https://github.com/bblanchon/ArduinoJson"
primary_contact: "oss-fuzz@benoitblanchon.fr"
sanitizers:
- address
- undefined
- memory