diff options
| author | Roman971 <32455037+Roman971@users.noreply.github.com> | 2021-12-03 15:11:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-03 09:11:49 -0500 |
| commit | 21a92ab95f2b57b81e90fc0e376527f4e45b46f3 (patch) | |
| tree | 73a4219e3e6a99b1d1f92d1e9c36a75332c78978 /first_diff.py | |
| parent | 4390dd74b6797449b70e7b417480b55c162d8086 (diff) | |
Fix sym_info.py and first_diff.py map lookup issues (#1055)
Symbol names like qNaN0x3FFFFF were detected as new sections in the map, which broke lookups for some sections of the ROM
Diffstat (limited to 'first_diff.py')
| -rwxr-xr-x | first_diff.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/first_diff.py b/first_diff.py index fff96557a..3b8a9dd46 100755 --- a/first_diff.py +++ b/first_diff.py @@ -93,7 +93,7 @@ def search_rom_address(target_addr): rom = ram - ram_offset sym = line.split()[-1] - if "0x" in sym: + if sym.startswith("0x"): ram_offset = None continue if "/" in sym: @@ -139,7 +139,7 @@ def parse_map(map_fname): rom = ram - ram_offset sym = line.split()[-1] - if "0x" in sym: + if sym.startswith("0x"): ram_offset = None continue elif "/" in sym: |
