我有大型 PE 文件(C++),其中有很多使用vtable和的间接函数调用jmp dword。
如何为此类函数生成调用树?(就像 IDA 用户外部参照图表菜单一样)。
下面是一个反汇编代码的例子:
UPX1:2401135C sub_2401135C proc near ; CODE XREF: sub_2401263C+Cp
UPX1:2401135C ; StartAddress+21p ...
UPX1:2401135C test eax, eax
UPX1:2401135E jz short locret_2401136A
UPX1:24011360 call ds:off_24057054
UPX1:24011366 or eax, eax
UPX1:24011368 jnz short loc_2401136B
UPX1:2401136A
UPX1:2401136A locret_2401136A: ; CODE XREF: sub_2401135C+2j
UPX1:2401136A retn
UPX1:2401136B ; ---------------------------------------------------------------------------
UPX1:2401136B
UPX1:2401136B loc_2401136B: ; CODE XREF: sub_2401135C+Cj
UPX1:2401136B mov al, 2
UPX1:2401136D jmp sub_2401141C
UPX1:2401136D sub_2401135C endp
ds:off_24057054如果我将包含数据外部参照,则用户外部参照图表只能显示调用分支。我该怎么做才能看到jmp sub_2401141C分支?