mirror of https://github.com/google/oss-fuzz.git
Civetweb: initial integration (#4983)
* civitweb: initial integration. * updated the project.yaml * Trying with a different port. * Trying port 8002. * new port. * Updated the project configurations for civetweb and removed changing of port.
This commit is contained in:
parent
0e678a37db
commit
97e2bbd234
|
@ -0,0 +1,22 @@
|
|||
# Copyright 2021 Google LLC
|
||||
#
|
||||
# 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
|
||||
RUN apt-get update && apt-get install -y zlib1g-dev
|
||||
RUN git clone https://github.com/civetweb/civetweb
|
||||
|
||||
WORKDIR $SRC/civetweb
|
||||
COPY build.sh $SRC/
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash -eu
|
||||
# Copyright 2021 Google LLC
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
################################################################################
|
||||
sed -i 's/CFLAGS += -g -fsanitize=address,fuzzer,undefined/#CFLAGS += -g -fsanitize=address,fuzzer,undefined/' ./Makefile
|
||||
export LDFLAGS="${LIB_FUZZING_ENGINE} ${CFLAGS}"
|
||||
|
||||
chmod +x ./fuzztest/build.sh
|
||||
./fuzztest/build.sh
|
||||
mv civetweb_fuzz3 $OUT/
|
|
@ -0,0 +1,11 @@
|
|||
homepage: "https://github.com/civetweb/civetweb"
|
||||
primary_contact: "bel2125@gmail.com"
|
||||
language: c
|
||||
fuzzing_engines:
|
||||
- libfuzzer
|
||||
- honggfuzz
|
||||
- dataflow
|
||||
auto_ccs:
|
||||
- "xt4ubq@gmail.com"
|
||||
- "david@adalogics.com"
|
||||
main_repo: 'https://github.com/civetweb/civetweb'
|
Loading…
Reference in New Issue