Open op2786 opened 11 months ago
You guess is probably right. The good news is that we have more information than the address to disambiguate it, thus it can be fixed without requiring a major change.
I also changed the title to be more informative.
Version and Platform (required):
Bug Description: In the screenshot below I want to set
MajorFunction
to one ofIRP_MJ
enumeration in linear view but without changing the type ofMajorFunction
toenum IRP_MJ
.Here is how it is look like before I try to set
MajorFunction
to enumeration:This is what I got when I click on
0x0
in lineuint8_t MajorFunction = 0x0
, pressM
and selectIRP_MJ_CREATE
.I noticed that when I click on
0x1
in lineuint8_t MajorFunction = 0x1
and pressM
select enum dialog does not open up. Probably this is why it corrupts the stucture. What happening there is probably when I do this inuint8_t MajorFunction = 0x0
, actually it is the start offset of the structure. So even if I believe I'm doing enum select operation in lineuint8_t MajorFunction = 0x0
, it is actually doing that for the start offset of the structure, and creates a enumeration variable there.Expected Behavior: I expect BN to allow me select enumeration in structure members in linear view