namespace SabreTools.Data.Models.COFF.SymbolTableEntries { /// /// Auxiliary Format 5: Section Definitions /// /// This format follows a symbol-table record that defines a section. Such a /// record has a symbol name that is the name of a section (such as .text or /// .drectve) and has storage class STATIC (3). The auxiliary record provides /// information about the section to which it refers. Thus, it duplicates some /// of the information in the section header. /// /// public class SectionDefinition : BaseEntry { /// /// The size of section data; the same as SizeOfRawData in the section header. /// public uint Length { get; set; } /// /// The number of relocation entries for the section. /// public ushort NumberOfRelocations { get; set; } /// /// The number of line-number entries for the section. /// public ushort NumberOfLinenumbers { get; set; } /// /// The checksum for communal data. It is applicable if the IMAGE_SCN_LNK_COMDAT /// flag is set in the section header. /// public uint CheckSum { get; set; } /// /// One-based index into the section table for the associated section. This is /// used when the COMDAT selection setting is 5. /// public ushort Number { get; set; } /// /// The COMDAT selection number. This is applicable if the section is a /// COMDAT section. /// public byte Selection { get; set; } /// /// Unused /// /// 3 bytes public byte[] Unused { get; set; } = new byte[3]; } }