Browse Source

sort symbols in linkmap by address

pull/17/head
PoroCYon 1 year ago
parent
commit
494d32638a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      smol/linkmap.py

+ 1
- 1
smol/linkmap.py View File

@ -82,7 +82,7 @@ def parse_mmap(ls: Sequence[str]) -> Sequence[MMap]:
if len(symn) > 0:
rrr.append(MMap(section, addr, symn, curfile))
return rrr
return sorted(rrr, key=lambda m: m.org)
def parse(s: str) -> LinkMap:
COMMON = 0


Loading…
Cancel
Save