From 46968a275474422db32530a2126dfa30dc7f3d15 Mon Sep 17 00:00:00 2001 From: Dongge Liu Date: Wed, 8 Feb 2023 12:35:48 +1100 Subject: [PATCH] Expose crash comparer (#2941) Expose `CrashComparer` so that users of `ClusterFuzz`'s `PythonAPI` can access it. For example, `FuzzBench` will use it to group crashes. --- src/clusterfuzz/stacktraces/crash_comparer.py | 16 ++++++++++++++++ src/setup.py | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/clusterfuzz/stacktraces/crash_comparer.py diff --git a/src/clusterfuzz/stacktraces/crash_comparer.py b/src/clusterfuzz/stacktraces/crash_comparer.py new file mode 100644 index 0000000000..8e440c643e --- /dev/null +++ b/src/clusterfuzz/stacktraces/crash_comparer.py @@ -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 diff --git a/src/setup.py b/src/setup.py index c0131a080f..565c52a084 100644 --- a/src/setup.py +++ b/src/setup.py @@ -19,7 +19,7 @@ setuptools.setup( name='clusterfuzz', - version='2.5.9', + version='2.6.0', author='ClusterFuzz authors', author_email='clusterfuzz-dev@googlegroups.com', description='ClusterFuzz',