Merge pull request #436 from fireeye/fix/ida/unmapped-data-ref

check for unmapped addresses when resolving data references
This commit is contained in:
mike-hunhoff
2021-02-19 12:58:16 -07:00
committed by GitHub

View File

@@ -351,6 +351,10 @@ def find_data_reference_from_insn(insn, max_depth=10):
# break if circular reference
break
if not idaapi.is_mapped(data_refs[0]):
# break if address is not mapped
break
depth += 1
if depth > max_depth:
# break if max depth