How can I get addresses in ida for "Direct Memory Reference" (addr) and "Memory Ref" (phrase)? SDK and E-manual, unfortunately, contain only theory but not an illustrative example :( I managed (into debug-mode) only to parse the operands and get string-text-name of the operand.
Thanks!
//-----------------------------------------------------------------------------------------
Cutting from ida sdk (file ua.hpp):
o_mem = 2, // Direct Memory Reference (DATA) addr
o_phrase = 3, // Memory Ref [Base Reg + Index Reg] phrase
o_mem
a direct memory data reference whose target address is known at the compliation time. The target virtual address is stored in x.addr and the full address is calculated as toEA(cmd.cs, x.addr)...
o_phrase
a memory reference using register contents. indexed, register based, and other addressing modes can be represented with the operand type...







