mirror of https://github.com/google/oss-fuzz.git
parent
8fe16237ef
commit
e4899ce61a
|
@ -0,0 +1,22 @@
|
|||
# Copyright 2016 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 guidovranken@gmail.com
|
||||
RUN apt-get update && apt-get install -y sudo autoconf build-essential libssl-dev pkg-config
|
||||
|
||||
RUN git clone --recursive https://github.com/guidovranken/libsrtp
|
||||
COPY build.sh $SRC/
|
|
@ -0,0 +1,9 @@
|
|||
cd $SRC/libsrtp
|
||||
git checkout fuzzing
|
||||
git fetch origin fuzzing
|
||||
autoreconf -ivf
|
||||
./configure
|
||||
LIBFUZZER="-lFuzzingEngine" make srtp-fuzzer
|
||||
zip -r srtp-fuzzer_seed_corpus.zip fuzzer/corpus
|
||||
cp $SRC/libsrtp/fuzzer/srtp-fuzzer $OUT
|
||||
cp srtp-fuzzer_seed_corpus.zip $OUT
|
|
@ -0,0 +1,6 @@
|
|||
homepage: "https://github.com/cisco/libsrtp"
|
||||
primary_contact: "richbarn@cisco.com"
|
||||
auto_ccs:
|
||||
- "guidovranken@gmail.com"
|
||||
fuzzing_engines:
|
||||
- libfuzzer
|
Loading…
Reference in New Issue