diff --git a/IDAPython/goresym_rename.py b/IDAPython/goresym_rename.py index 994edb6..9114841 100644 --- a/IDAPython/goresym_rename.py +++ b/IDAPython/goresym_rename.py @@ -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)