def match_exception_with_traceback(exception_list: Set[Tuple[str, str]], exc_traceback) -> bool:
    """Match exception traceback with the entries in the exception list."""
    for filename, lineno, _, _ in traceback.extract_tb(exc_traceback):
        for file_pattern, line_pattern in exception_list:
            # Ensure filename and line_number are strings for regex matching
            if re.fullmatch(file_pattern, filename) and re.fullmatch(line_pattern, str(lineno)):
                return True
    return False
Match exception traceback with the entries in the exception list.
fuzzing/fuzz-targets/utils.py