Let's say I have lots of breakpoints at some push instructions.
I am trying to dereference the operand (if address) - get the actual relevant value for each one in a script, handling immediate, base + index, register, etc. Can I do this in any other way than:
- Read it with ESP after
Step Into(executing the instruction at breakpoint) (DbgRead()ofIDC,idaapi.dbg_read_memory()) - Read the operand and manually evaluate it in the script with respective calls to
DbgRead(),GetRegValue(), etc.
This, if possible, I guess would imply a particular idaapi function.
pushline have an xref to the data? – tmr232 Jul 16 '15 at 22:38