mirror of https://github.com/google/oss-fuzz.git
Added Dovecot project (#3502)
* Updated with improvements so we (0) build the /bintuls applications (1) targets for readelf (with sample ELF file) and cxxfilt and (3) added my email to the project yaml. Fixed travis. Removed whitespace and fixed commit email for google cla Fixed travis. Removed whitespace and fixed commit email for google cla * Added Dovecot project. * Updated the build script to reflect updates in Dovecot where we have integrated the build process into the actual project. * Fixup emails. * Updated build with new branch. * Updated to new build options. * Fix travis.
This commit is contained in:
parent
a4f67e3023
commit
5a4cb61237
|
@ -0,0 +1,24 @@
|
|||
# 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 autoconf automake libtool wget gettext automake libxml2-dev m4 pkg-config
|
||||
RUN git clone --depth 1 --single-branch --branch fuzzer https://github.com/dovecot/core dovecot
|
||||
WORKDIR dovecot
|
||||
COPY build.sh $SRC/
|
||||
#COPY fuzz-* $SRC/
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
#!/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.
|
||||
#
|
||||
################################################################################
|
||||
./autogen.sh
|
||||
./configure PANDOC=false --with-fuzzer=clang
|
||||
make
|
||||
|
||||
# Copy over the fuzzers
|
||||
find . -name "fuzz-*" -executable -exec cp {} $OUT/ \;
|
|
@ -0,0 +1,6 @@
|
|||
homepage: "https://www.dovecot.org/"
|
||||
language: c
|
||||
primary_contact: "oss-fuzz@open-xchange.com"
|
||||
auto_ccs:
|
||||
- "david@adalogics.com"
|
||||
- "p.antoine@catenacyber.fr"
|
Loading…
Reference in New Issue