I am using libdis , the x86 disassembler library from bastard , and I'm trying to figure out which instructions are accessing memory.
Regarding these two instructions:
mov eax, [ebx + 10] lea eax, [ebx + 10]
In libdis both are listed with the insn_mov instruction insn_mov , and address operands have the same flags in both cases. Thus, the only way I can determine memory access is to look at the command mnemonics.
Therefore, my question is: is LEA the only instruction using a memory operand that does not actually access memory? Any links to links would be nice.
source share