Skip to content

Commit

Permalink
Expose crash comparer (#2941)
Browse files Browse the repository at this point in the history
Expose `CrashComparer` so that users of `ClusterFuzz`'s `PythonAPI` can
access it.
For example, `FuzzBench` will use it to group crashes.
  • Loading branch information
DonggeLiu authored Feb 8, 2023
1 parent e4ced1f commit 46968a2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions src/clusterfuzz/stacktraces/crash_comparer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 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.
"""Expose crash comparer to external users."""
# pylint: disable=unused-import
from clusterfuzz._internal.crash_analysis.crash_comparer import CrashComparer
2 changes: 1 addition & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

setuptools.setup(
name='clusterfuzz',
version='2.5.9',
version='2.6.0',
author='ClusterFuzz authors',
author_email='[email protected]',
description='ClusterFuzz',
Expand Down

0 comments on commit 46968a2

Please sign in to comment.