Skip to content

Commit

Permalink
Catch typename decode issues
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemk14ebr committed Oct 23, 2023
1 parent 71750b3 commit a885617
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions IDAPython/goresym_rename.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ def is_autosync(name, tif):
for ord in range(1, idaapi.get_ordinal_qty(None)):
t = idaapi.tinfo_t()
t.get_numbered_type(None, ord)
typename = t.get_type_name()
if typename.startswith('#'):

typename = ''
try:
typename = t.get_type_name()
if typename.startswith('#'):
continue
except:
continue

autosync = is_autosync(typename, t)
Expand Down

0 comments on commit a885617

Please sign in to comment.