SelectUnionMember

Description

Choose the representation of a union member. This command tells IDA how to display references to a union from the current cursor location.

Example: Suppose we have the following union:

        xxx     union
        a       db ?
        b       dw ?
        c       dd ?
        ends   xxx
        dloc    xxx ?

Normally, IDA displays references to "dloc" like this:

        mov     al,  byte ptr dloc
        mov     eax, word ptr dloc

After using this command, IDA can display the union members:

        mov     al,  dloc.b
        mov     eax, dloc.d 

Last updated

Was this helpful?