COFFSymbolRef is a container type for coff_symbol16 and coff_symbol32.
The difference between 16 and 32 matters only for SectionNumber, Type,
StorageClass and NumberOfAuxSymbols. Name and Value fields are at
the same offsets. So we don't need to distinguish them.
Details
Details
- Reviewers
majnemer
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I think it would be safer to create a coff_symbol_generic which only contains the fields that coff_symbol16 and coff_symbol32 have in common. This way, we wouldn't accidentally assume we could use the other fields.