Merge remote-tracking branch 'origin/GT-2696_ryanmkurtz_idaxml_negative'

This commit is contained in:
ghidravore 2019-05-02 16:14:50 -04:00
commit 273430ed25

View File

@ -1192,7 +1192,7 @@ class XmlExporter(IdaXml):
elif idc.is_code(f) == True:
insn = ida_ua.insn_t()
ida_ua.decode_insn(insn, addr)
target = insn.ops[op].value - ri.tdelta + ri.base
target = (insn.ops[op].value - ri.tdelta + ri.base) & ((1 << 64) - 1)
elif idc.is_data(f) == True:
target = self.get_data_value(addr) - ri.tdelta + ri.base;
else: