You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to iterate through all structures' members, but I'm getting IndexError: index out of range on one particular structure.
Here's the traceback:
File "C:\Users\<redacted>\...\generate_symbol_list.py", line 60, in <module>
for member in struct.get_members():
File "C:\Users\<redacted>\AppData\Local\Programs\Python\Python39\lib\site-packages\python_idb-0.7.1-py3.9.egg\idb\analysis.py", line 1133, in get_members
nodeid_offset = u.addr()
File "C:\Users\<redacted>\AppData\Local\Programs\Python\Python39\lib\site-packages\python_idb-0.7.1-py3.9.egg\idb\analysis.py", line 206, in addr
return self._do_unpack(unpack_dd)
File "C:\Users\<redacted>\AppData\Local\Programs\Python\Python39\lib\site-packages\python_idb-0.7.1-py3.9.egg\idb\analysis.py", line 189, in _do_unpack
v, delta = unpack_fn(self.buf, offset=self.offset)
File "C:\Users\<redacted>\AppData\Local\Programs\Python\Python39\lib\site-packages\python_idb-0.7.1-py3.9.egg\idb\analysis.py", line 131, in unpack_dd
hi = ((header & 0x3F) << 8) + six.indexbytes(buf, 0x1)
IndexError: index out of range
I'm trying to iterate through all structures' members, but I'm getting
IndexError: index out of range
on one particular structure.Here's the traceback:
Here's the code snippet:
Note that this also happens with
find_member_by_name()
, which usesget_members()
. It happens on the same exact structure every time.The text was updated successfully, but these errors were encountered: