我编写了一个脚本,它使用 ghidra 中的此代码从 PE 中提取所有汇编代码
instructionList = []
for instr in currentProgram.getListing().getInstructions(True):
instructionList.append(instr)
但问题是,更改了汇编代码中的所有 .DLL 调用。例如,如果列表窗口显示
CALL dword ptr [->MSVCRT.DLL::signal]
我得到的输出是
CALL dword ptr [EBP + -0x14]
有没有办法完全按照列表窗口中的方式获取汇编代码