We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d364d36 commit 8b5a760Copy full SHA for 8b5a760
tools/memap.py
@@ -79,7 +79,7 @@ def parse_mapfile(self, mapfile):
79
80
class _GccParser(_Parser):
81
RE_OBJECT_FILE = re.compile(r'^(.+\/.+\.o)$')
82
- RE_LIBRARY_OBJECT = re.compile(r'^.+' + sep + r'lib((.+\.a)\((.+\.o)\))$')
+ RE_LIBRARY_OBJECT = re.compile(r'^.+' + re.escape(sep) + r'lib((.+\.a)\((.+\.o)\))$')
83
RE_STD_SECTION = re.compile(r'^\s+.*0x(\w{8,16})\s+0x(\w+)\s(.+)$')
84
RE_FILL_SECTION = re.compile(r'^\s*\*fill\*\s+0x(\w{8,16})\s+0x(\w+).*$')
85
0 commit comments