structstd.coff.SectionDefinition[src]

Fields

length: u32

The size of section data; the same as SizeOfRawData in the section header.

number_of_relocations: u16

The number of relocation entries for the section.

number_of_linenumbers: u16

The number of line-number entries for the section.

checksum: u32

The checksum for communal data. It is applicable if the IMAGE_SCN_LNK_COMDAT flag is set in the section header.

number: u16

One-based index into the section table for the associated section. This is used when the COMDAT selection setting is 5.

selection: ComdatSelection

The COMDAT selection number. This is applicable if the section is a COMDAT section.

unused: [3]u8

Source Code

Source code
pub const SectionDefinition = struct {
    /// The size of section data; the same as SizeOfRawData in the section header.
    length: u32,

    /// The number of relocation entries for the section.
    number_of_relocations: u16,

    /// The number of line-number entries for the section.
    number_of_linenumbers: u16,

    /// The checksum for communal data. It is applicable if the IMAGE_SCN_LNK_COMDAT flag is set in the section header.
    checksum: u32,

    /// One-based index into the section table for the associated section. This is used when the COMDAT selection setting is 5.
    number: u16,

    /// The COMDAT selection number. This is applicable if the section is a COMDAT section.
    selection: ComdatSelection,

    unused: [3]u8,
}