V0wMXee6qg (Ziyaretçi)
| | Thanks for your quick reply.Sorry for missing xrefs widnow from the manual,what I mean is:AddCodeXref(here, 0x00766FC0, fl_CN | XREF_USER);007F9BB5 mov eax, 7BEAB0h007F9BBA sub eax, 540h007F9BBF mov edx, 7852F52Ah007F9BC4 mov ecx, [ebp+keya]007F9BC7 call eax ; calc_keya00_2 ; CODE XREF: 007BE570 -> calc_keya00_2007F9BC9 neg eax007F9BCB add eax, 5A64E6B6h007F9BD0 mov edx, 91960538h007F9BD5 mov ecx, [ebp+keya]007F9BD8 call eax ; CODE XREF: 007497B0 -> calc_keya19_0007F9BDA neg eax007F9BDC add eax, 1480AA14h007F9BE1 mov dword ptr [ebp+var_24+4], eax007F9BE4 mov edx, [esi+20h]007F9BE7 mov ecx, esi007F9BE9007F9BE9 here:007F9BE9 call dword ptr [ebp+var_24+4]while the callee function at 0x00766FC0 will display xref relations correctly:00766FC0 ; Attributes: bp-based frame00766FC000766FC0 scramble_seed2_0x01_0x03 proc near ; CODE XREF: scramble_seed2_0x03_0:here>palthough I added the xref to 00766FC0, but from the caller position I can't see any xrefs in GUI, it's rather boring sometimes:007F9BE9 here:007F9BE9 call dword ptr [ebp+var_24+4]if automatic comments is added by default, I know there is a xref there and I can jump to callee, it would be convinience most times, example is:0076706E 03C FF D0 call eax ; calc_keya00_6of course the repeatable comment work perfectly, so It would not be a big question for me. now I write a small plugin to do the dirty work to add comment such as:007F9BD8 call eax ; CODE XREF: 007497B0 -> calc_keya19_0hope to see 5.1 coming soon. |