In my code, I am using idc.GetOpnd(ea,0)
and idc.GetOpnd(ea,1)
to get the 2 operands of an instruction. However, if its a call
(or jmp
) instruction, I am getting symbols like _perror
and loc_8083BA9
.
Using IDAPython, is it possible to remove all the symbols and deal only with memory locations.
GetOperandValue
works fine forcall
andjmp
instructions. However, for something like thismov [esp+5Ch+handler],offset aNoCertificateP
, I am gettingmov 4,136298879
. which is not desired. In this case, I just want to resolvehandler
andoffset aNoCertificateP
to their respective memory locations. Is that possible to do? – Graybill