|
22 |
self.__lines = file.readlines () |
22 |
self.__lines = file.readlines () |
23 |
self.__current = 0 |
23 |
self.__current = 0 |
24 |
self.__re1 = re.compile ('<([^>]+)><([^>]+)>:[^A]*Abbrev Number:.*\d+.*\((\w+)\)') |
24 |
self.__re1 = re.compile ('<([^>]+)><([^>]+)>:[^A]*Abbrev Number:.*\d+.*\((\w+)\)') |
25 |
self.__re2 = re.compile ('<[^>]+>[^D]*(DW_AT_\w+)([^:]*:)+ <?0?x?([^ \t><\)]+)[ >\t\)]*$') |
25 |
self.__re2 = re.compile ('<[^>]+>[^D]*(DW_AT_\w+)([^:]*:)+ <?0?x?([^ \t\n><\)]+)[ >\t\n\)]*$') |
26 |
return |
26 |
return |
27 |
def rewind (self): |
27 |
def rewind (self): |
28 |
self.__current = 0 |
28 |
self.__current = 0 |
|
152 |
# ubuntu 1404 |
152 |
# ubuntu 1404 |
153 |
'/usr/lib/debug/lib/x86_64-linux-gnu/ld-2.19.so', |
153 |
'/usr/lib/debug/lib/x86_64-linux-gnu/ld-2.19.so', |
154 |
'/usr/lib/debug/lib/i386-linux-gnu/ld-2.19.so', |
154 |
'/usr/lib/debug/lib/i386-linux-gnu/ld-2.19.so', |
|
|
155 |
# ubuntu 1504 |
156 |
'/usr/lib/debug/lib/x86_64-linux-gnu/ld-2.21.so', |
157 |
'/usr/lib/debug/lib/i386-linux-gnu/ld-2.21.so', |
155 |
] |
158 |
] |
156 |
for file in files_to_try: |
159 |
for file in files_to_try: |
157 |
if os.path.isfile (file): |
160 |
if os.path.isfile (file): |