Skip to content

Commit

Permalink
Update kasan_symbolize.py
Browse files Browse the repository at this point in the history
git-svn-id: http://address-sanitizer.googlecode.com/svn/trunk@2273 3c3640eb-14a6-2bb8-0b94-e9e73afe33f5
  • Loading branch information
[email protected] committed Dec 30, 2014
1 parent 11ef11b commit 863ef25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/kasan_symbolize.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,14 @@ def LoadModule(self, module):

def PrintFrame(self, addr, func, fileline, suffix):
if self.strip_path != None:
fileline_parts = fileline.split(self.strip_path)
fileline_parts = fileline.split(self.strip_path, 1)
if len(fileline_parts) >= 2:
fileline = fileline_parts[1].lstrip('/')
print ' [<%s>] %s %s' % (addr, suffix, fileline)

def PrintInlinedFrame(self, addr, func, fileline, suffix):
if self.strip_path != None:
fileline_parts = fileline.split(self.strip_path)
fileline_parts = fileline.split(self.strip_path, 1)
if len(fileline_parts) >= 2:
fileline = fileline_parts[1].lstrip('/')
addr = ' inlined ';
Expand Down

0 comments on commit 863ef25

Please sign in to comment.