Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Side by Side Diff: appengine/findit/crash/stacktrace_parser.py

Issue 2593593003: [Predator] Add Clusterfuzz stacktrace parser. (Closed)
Patch Set: Rebase and fix nit. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import math 5 import math
6 6
7 from crash.stacktrace import CallStackBuffer 7 from crash.stacktrace import CallStackBuffer
8 from crash.stacktrace import Stacktrace 8 from crash.stacktrace import Stacktrace
9 9
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 Args: 44 Args:
45 stacktrace_string (str): Raw string to be parsed. 45 stacktrace_string (str): Raw string to be parsed.
46 deps (dict): Dict mapping repository path to ``Dependency`` instance, used 46 deps (dict): Dict mapping repository path to ``Dependency`` instance, used
47 to resolve dependency of frames. 47 to resolve dependency of frames.
48 signature (str): Signature is used to mark signature callstack, signature 48 signature (str): Signature is used to mark signature callstack, signature
49 callstack is the crash stack that causing the crash. 49 callstack is the crash stack that causing the crash.
50 top_n_frames (int): Number of top frames to be keep in a callstack. 50 top_n_frames (int): Number of top frames to be keep in a callstack.
51 """ 51 """
52 raise NotImplementedError() 52 raise NotImplementedError()
53
54 def _IsStartOfNewCallStack(self, line):
55 """Determines whether a line is the start of a new callstack or not."""
56 raise NotImplementedError()
OLDNEW
« no previous file with comments | « appengine/findit/crash/clusterfuzz_parser.py ('k') | appengine/findit/crash/test/callstack_detectors_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698