ua_ana0("lea eax, 401000h[eax*4]").Operands[1].type = o_mem
IDA sdk describes o_mem is Direct Memory Ref. without index
seems it decodes operand as o_mem if SIB.Index == 101,
but in fact, it still depends on the Mod field of ModR/M byte. Only when Mod = 00, the operand is actual "Direct Memory Ref."
Now questions, is there a simple way to parse SIB regs without touching the specflag2? what does op_t.phrase hold on? and how to get the modrm byte?







