PDA

View Full Version : Negated structure offsets


Hex Blog
11-14-2007, 12:35 AM
A month ago I received a support request:
If I have an instruction like
Code:

mov eax, [edi-0ch]
and I know that that's really the sum of an offset to a structure not at edi and the offset of a member within that structure, how do I get IDA to display it as such without using a manual operand?
A legitimate question, which is somewhat hard to answer.

http://hexblog.com/2007/10/negated_structure_offsets.html