Skip to content

Commit

Permalink
startup crash update
Browse files Browse the repository at this point in the history
  • Loading branch information
AashutoshMurthy committed Dec 6, 2024
1 parent 65c3fd6 commit 6ad51b3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/clusterfuzz/_internal/cron/triage.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def _is_bug_filed(testcase):
return False


def _is_startup_crash(testcase):
"""Check if job contains both libfuzzer and android"""
def _is_android_libfuzzer_crash(testcase):
"""Checks if the given testcase is an Android libfuzzer crash"""
if testcase.job_type.startswith(
'libfuzzer') and 'android' in testcase.job_type:
# Get crash statistics data on this unreproducible crash for last X days.
Expand Down Expand Up @@ -427,9 +427,8 @@ def main():
# Check if the crash is important, i.e. it is either a reproducible crash
# or an unreproducible crash happening frequently.
if not _is_crash_important(testcase):
# Check if the crash is a startup crash, i.e. it is causing the fuzzer
# to crash on startup and not allowing the fuzzer to run longer
if not _is_startup_crash(testcase):
# Check if the crash is an Android libfuzzer crash
if not _is_android_libfuzzer_crash(testcase):
continue

# Require that all tasks like minimizaton, regression testing, etc have
Expand Down

0 comments on commit 6ad51b3

Please sign in to comment.