aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar DavidKorczynski <david@adalogics.com>2020-04-04 03:47:58 +0100
committerGravatar GitHub <noreply@github.com>2020-04-03 19:47:58 -0700
commite587cc186880064ac4a41a546321228105ffd86b (patch)
tree73cedf26d042b1b4afc3a703611be35b55284bcb
parent7b356731bab180ca52e0d1d5f5b54c8c4c970211 (diff)
Added jsoncons project. (#3568)
* Added jsoncons. * Updated with correct email and with the fuzzers merged into master. * Fixed docker file.
-rwxr-xr-xprojects/jsoncons/Dockerfile23
-rwxr-xr-xprojects/jsoncons/build.sh19
-rwxr-xr-xprojects/jsoncons/project.yaml5
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"