How to tell IDA that a local function variable or function argument is a pointer to structure?
Also, is it possible to do the same thing to a register. For example, if ESI points to a IMAGE_NT_HEADERS structure, can I tell IDA to automatically display appropriate structure members when accessing them through ESI+offset?
In other words, instead of this
cmp dword ptr [eax], 'EP'
jnz short loc_600A3233
cmp word ptr [eax+18h], 10Bh
I would like to see this (without manually selecting structure offset for each line)
cmp dword ptr [eax+IMAGE_NT_HEADERS.PESignature], 'EP'
jnz short loc_600A3233
cmp word ptr [eax+IMAGE_NT_HEADERS.OptionalHeader.Magic], 10Bh
Ta,
Boris







