diff --git a/plugins/localxrefs/localxrefs.py b/plugins/localxrefs/localxrefs.py index 7612e9c..48c0986 100755 --- a/plugins/localxrefs/localxrefs.py +++ b/plugins/localxrefs/localxrefs.py @@ -105,6 +105,7 @@ def _profile_function(self): self.xrefs[ea] = { 'offset' : idc.GetFuncOffset(ea), + 'ea' : ea, 'mnem' : mnem, 'type' : optype, 'direction' : direction, @@ -171,9 +172,9 @@ def run(self, arg): info = r.xrefs[ea] if not fmt: - fmt = "%%s %%s %%-%ds %%s\n" % (len(info['offset']) + 15) + fmt = "%%s %%s 0x%%08X %%-%ds %%s\n" % (len(info['offset']) + 15) - idaapi.msg(fmt % (info['direction'], info['type'], info['offset'], info['text'])) + idaapi.msg(fmt % (info['direction'], info['type'], info['ea'], info['offset'], info['text'])) idaapi.msg(self.DELIM)