[lz4] Add the lz4 project to oss-fuzz (#2550)

* Add the lz4 project to oss-fuzz
This commit is contained in:
Max Dymond 2019-06-30 22:05:31 +01:00 committed by jonathanmetzman
parent c158db4df2
commit f3fd7d1dcb
3 changed files with 52 additions and 0 deletions

23
projects/lz4/Dockerfile Normal file
View File

@ -0,0 +1,23 @@
# 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 cmeister2@gmail.com
RUN git clone --depth 1 https://github.com/lz4/lz4.git /src/lz4
WORKDIR $SRC/lz4
COPY build.sh $SRC/

19
projects/lz4/build.sh Executable file
View File

@ -0,0 +1,19 @@
#!/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.
#
################################################################################
# Run the OSS-Fuzz script in the project.
./ossfuzz/ossfuzz.sh

10
projects/lz4/project.yaml Normal file
View File

@ -0,0 +1,10 @@
homepage: "https://github.com/lz4/lz4"
primary_contact: "Yann.collet.73@gmail.com"
auto_ccs:
- "NickRTerrell@gmail.com"
- "cyan@fb.com"
- "terrelln@fb.com"
sanitizers:
- address
- memory
- undefined