| Index: tools/find_runtime_symbols/proc_maps.py
|
| diff --git a/tools/find_runtime_symbols/proc_maps.py b/tools/find_runtime_symbols/proc_maps.py
|
| index 2d917b32124c24e99f9af37467cff647fee76564..1c4dbb98c8b124c4069979d2b379b5385f8a48b1 100644
|
| --- a/tools/find_runtime_symbols/proc_maps.py
|
| +++ b/tools/find_runtime_symbols/proc_maps.py
|
| @@ -101,22 +101,17 @@ class ProcMaps(object):
|
|
|
| @staticmethod
|
| def constants(entry):
|
| - return (entry.writable == '-' and entry.executable == '-' and re.match(
|
| - '\S+(\.(so|dll|dylib|bundle)|chrome)((\.\d+)+\w*(\.\d+){0,3})?',
|
| - entry.name))
|
| + return (entry.writable == '-' and entry.executable == '-' and
|
| + entry.name.startswith('/'))
|
|
|
| @staticmethod
|
| def executable(entry):
|
| - return (entry.executable == 'x' and re.match(
|
| - '\S+(\.(so|dll|dylib|bundle)|chrome)((\.\d+)+\w*(\.\d+){0,3})?',
|
| - entry.name))
|
| + return (entry.executable == 'x' and entry.name.startswith('/'))
|
|
|
| @staticmethod
|
| def executable_and_constants(entry):
|
| return (((entry.writable == '-' and entry.executable == '-') or
|
| - entry.executable == 'x') and re.match(
|
| - '\S+(\.(so|dll|dylib|bundle)|chrome)((\.\d+)+\w*(\.\d+){0,3})?',
|
| - entry.name))
|
| + entry.executable == 'x') and entry.name.startswith('/'))
|
|
|
| def _append_entry(self, entry):
|
| if self._sorted_indexes and self._sorted_indexes[-1] > entry.begin:
|
|
|