diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-04-17 19:20:14 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-04-17 19:20:14 -0400 |
commit | bf81961b9d40c47ce2f7332e4cdaa9ca93fd93fc (patch) | |
tree | 73f59e37d1a503d33d3d57ae287793075687705f /tools/unnamed.py | |
parent | 955e4eddf8fdfbb68dad3ada8712faf6fb44a417 (diff) |
Fix tools/unnamed.py
Diffstat (limited to 'tools/unnamed.py')
-rwxr-xr-x | tools/unnamed.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/unnamed.py b/tools/unnamed.py index 4268879e..e4634541 100755 --- a/tools/unnamed.py +++ b/tools/unnamed.py @@ -89,7 +89,7 @@ for objfile in objects: num_symbols = unpack_file("<I", f)[0] unpack_file("<I", f) # skip num sections - if obj_ver in [16]: + if obj_ver in [16, 17]: node_filenames = [] num_nodes = unpack_file("<I", f)[0] for x in range(num_nodes): @@ -109,7 +109,7 @@ for objfile in objects: sym_type = symtype(unpack_file("<B", f)[0] & 0x7f) if sym_type == symtype.IMPORT: continue - if obj_ver in [16]: + if obj_ver in [16, 17]: sym_fileno = unpack_file("<I", f)[0] sym_filename = node_filenames[sym_fileno] else: |