Rev 297 | Rev 501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 297 | Rev 332 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | 6 | ||
7 | MAXSTRING=63 |
7 | MAXSTRING=63 |
8 | symtabfmt = "<Q%ds" % (MAXSTRING+1) |
8 | symtabfmt = "<Q%ds" % (MAXSTRING+1) |
9 | 9 | ||
10 | 10 | ||
11 | funcline = re.compile(r'([0-9a-f]+)\s+[lg]\s+F\s+\.text\s+([0-9a-f]+)\s+(.*)$') |
11 | funcline = re.compile(r'([0-9a-f]+)\s+[lg]\s+.\s+\.text\s+([0-9a-f]+)\s+(.*)$') |
12 | bssline = re.compile(r'([0-9a-f]+)\s+[lg]\s+[a-zA-Z]\s+\.bss\s+([0-9a-f]+)\s+(.*)$') |
12 | bssline = re.compile(r'([0-9a-f]+)\s+[lg]\s+[a-zA-Z]\s+\.bss\s+([0-9a-f]+)\s+(.*)$') |
13 | dataline = re.compile(r'([0-9a-f]+)\s+[lg]\s+[a-zA-Z]\s+\.data\s+([0-9a-f]+)\s+(.*)$') |
13 | dataline = re.compile(r'([0-9a-f]+)\s+[lg]\s+[a-zA-Z]\s+\.data\s+([0-9a-f]+)\s+(.*)$') |
14 | fileexp = re.compile(r'([^\s]+):\s+file format') |
14 | fileexp = re.compile(r'([^\s]+):\s+file format') |
15 | def read_obdump(inp): |
15 | def read_obdump(inp): |
16 | funcs = {} |
16 | funcs = {} |