Skip to content

Commit

Permalink
dateparser Harness Migration (#11226)
Browse files Browse the repository at this point in the history
This PR holds the Dockerfile and project.yaml for dateparser.
[Upstream](scrapinghub/dateparser#1198) has
merged the fuzz harness and supplemental files.

---------

Co-authored-by: jonathanmetzman <[email protected]>
Co-authored-by: bcapuano <[email protected]>
  • Loading branch information
3 people committed Nov 16, 2023
1 parent 85f1b53 commit 6a7a12d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
23 changes: 23 additions & 0 deletions projects/dateparser/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2023 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-python
RUN pip3 install --upgrade pip
RUN git clone --depth 1 https://github.com/scrapinghub/dateparser.git dateparser \
&& cp dateparser/fuzzing/build.sh $SRC/ \
&& mv dateparser/fuzzing/corpus $SRC/
WORKDIR $SRC/dateparser

1 change: 0 additions & 1 deletion projects/dateparser/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ fuzzing_engines:
- libfuzzer
sanitizers:
- address
- undefined
main_repo: "https://github.com/scrapinghub/dateparser.git"

0 comments on commit 6a7a12d

Please sign in to comment.