checked for unmapped address when resolving data references

This commit is contained in:
Michael Hunhoff
2021-02-19 10:07:23 -07:00
parent ccd7f1ee4b
commit e4e517b334

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