Add project Cppcheck (#2257)

* Add project Cppcheck

* Add email addresses
This commit is contained in:
Daniel Marjamäki 2019-03-25 15:57:56 +01:00 committed by Abhishek Arya
parent e9a43c10c6
commit acd7909035
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# 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 daniel.marjamaki@gmail.com
RUN git clone https://github.com/orbitcowboy/afl_cppcheck.git afl_cppcheck
RUN git clone https://github.com/danmar/cppcheck.git afl_cppcheck/cppcheck
WORKDIR afl_cppcheck
COPY build.sh $SRC/

24
projects/cppcheck/build.sh Executable file
View File

@ -0,0 +1,24 @@
#!/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.
#
################################################################################
# build fuzzer
cd fuzzer-cli
make oss-fuzz-client
cp oss-fuzz-client $OUT/

View File

@ -0,0 +1,8 @@
homepage: "https://cppcheck.sourceforge.net"
primary_contact: "daniel.marjamaki@gmail.com"
auto_ccs:
- "daniel.marjamaki@gmail.com"
- "ettl.martin78@gmail.com"
sanitizers:
- address
- undefined