Normally I struct is a fixed size. Is it possible to define a structure which contains an element which has different sizes?
To illustrate what I mean is this.
The layout of the data in the file looks like this:
ID WORD 0
FunctionPtr DWORD OFFSET Fkt
Name db 'Name of the function',0
align 4
'Name' is now a C-String which is as long until it reaches the 0-byte at the end and then follows the align instruction. So is it possible to tell IDA that the structure is including the string, no matter how long it is?
malloced
space for. If that isn't the case the struct (once again thinking c, sorry) would have to have different names for all the different sizes or be some kind of union.