You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
BruteForce
Posted - Nov 09 2006 : 11:11:57 AM Hi,
It seems that VA does not handle correctly anonymous struct or union members. The sample C code given at the end of this topic compiles OK with the C compiler of VS2005 but VA (a) underlines with a red line the last 3 assignment statements and (b) does not present the Bytes/bytes01/bytes23 names as options in Intellisense when I type "p."; it only presents "StructType".
Regards, Dimitris Staikos
====== SAMPLE CODE STARTS HERE ======
typedef union { struct { char Bytes[4]; }; struct { unsigned short bytes01; unsigned short bytes23; }; } CONTENT;
typedef struct _STRUCTDATA { int StructType; CONTENT; } STRUCTDATA, *PSTRUCTDATA;