diff options
-rwxr-xr-x | projects/jsoncons/Dockerfile | 23 | ||||
-rwxr-xr-x | projects/jsoncons/build.sh | 19 | ||||
-rwxr-xr-x | projects/jsoncons/project.yaml | 5 |
3 files changed, 47 insertions, 0 deletions
diff --git a/projects/jsoncons/Dockerfile b/projects/jsoncons/Dockerfile new file mode 100755 index 00000000..bdd09955 --- /dev/null +++ b/projects/jsoncons/Dockerfile @@ -0,0 +1,23 @@ +# Copyright 2020 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 david@adalogics.com +RUN apt-get update && apt-get install -y make cmake +RUN git clone https://github.com/danielaparker/jsoncons + +WORKDIR $SRC +COPY build.sh $SRC/ diff --git a/projects/jsoncons/build.sh b/projects/jsoncons/build.sh new file mode 100755 index 00000000..341bc977 --- /dev/null +++ b/projects/jsoncons/build.sh @@ -0,0 +1,19 @@ +#!/bin/bash -eu +# Copyright 2020 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. +# +################################################################################ + +cd jsoncons +$CXX ./fuzzers/fuzz_parse.cpp -I./include $CXXFLAGS $LIB_FUZZING_ENGINE -o $OUT/fuzz_parse diff --git a/projects/jsoncons/project.yaml b/projects/jsoncons/project.yaml new file mode 100755 index 00000000..5209be8e --- /dev/null +++ b/projects/jsoncons/project.yaml @@ -0,0 +1,5 @@ +homepage: "https://github.com/danielaparker/jsoncons" +primary_contact: "danielaparker@yahoo.com" +language: c++ +auto_ccs : + - "david@adalogics.com" |