[TTC-2] Fix asan_symbolize.py for C++ function prototypes detection.
authorMikhail Kashkarov <m.kashkarov@partner.samsung.com>
Thu, 13 Jul 2017 14:02:39 +0000 (17:02 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Fri, 28 Jul 2023 10:41:31 +0000 (19:41 +0900)
Change-Id: Iffa30dce19f99506312a93b79cc8deb05404a82a

packaging/asan_symbolize.py

index 0ce93b7..235a273 100644 (file)
@@ -630,7 +630,7 @@ class SymbolizationLoop(object):
     self.current_line = line.rstrip()
     #0 0x7f6e35cf2e45  (/blah/foo.so+0x11fe45)
     stack_trace_line_format = (
-        '^( *#([0-9]+) *)(0x[0-9a-f]+)( *in [^ ]+)? *\((.*)\+(0x[0-9a-f]+)\)')
+        '^( *#([0-9]+) *)(0x[0-9a-f]+)( *in [^/]+)? *\((.*)\+(0x[0-9a-f]+)\)')
     match = re.match(stack_trace_line_format, line)
     if not match:
       return [self.current_line]