Skip to content

Commit

Permalink
Adds project glog (#9160)
Browse files Browse the repository at this point in the history
@sergiud are you interested in having glog running on oss-fuzz ?

see also google/glog#816 cc @autofuzzoss

I also quickly find a timeout with input
`_ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ_`
  • Loading branch information
catenacyber authored Feb 25, 2023
1 parent c96a0eb commit fadf6ee
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
22 changes: 22 additions & 0 deletions projects/glog/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 git clone --depth 1 https://github.com/google/glog

COPY build.sh $SRC/
WORKDIR $SRC/glog
22 changes: 22 additions & 0 deletions projects/glog/build.sh
Original file line number Diff line number Diff line change
@@ -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.
#
################################################################################

mkdir build
cd build
cmake .. -DWITH_FUZZING=ossfuzz -DBUILD_SHARED_LIBS=OFF
make -j$(nproc)
cp fuzz_* $OUT/
7 changes: 7 additions & 0 deletions projects/glog/project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
homepage: "https://github.com/google/glog"
language: c++
primary_contact: "sergiu.deitsch@gmail.com"
auto_ccs :
- "p.antoine@catenacyber.fr"

main_repo: 'https://github.com/google/glog'

0 comments on commit fadf6ee

Please sign in to comment.