object::read::coff

Type Alias CoffBigComdat

Source
pub type CoffBigComdat<'data, 'file, R = &'data [u8]> = CoffComdat<'data, 'file, R, AnonObjectHeaderBigobj>;
Expand description

A COMDAT section group in a CoffBigFile.

Most functionality is provided by the ObjectComdat trait implementation.

Aliased Type§

struct CoffBigComdat<'data, 'file, R = &'data [u8]> {
    file: &'file CoffFile<'data, R, AnonObjectHeaderBigobj>,
    symbol_index: SymbolIndex,
    symbol: &'data ImageSymbolEx,
    selection: u8,
}

Fields§

§file: &'file CoffFile<'data, R, AnonObjectHeaderBigobj>§symbol_index: SymbolIndex§symbol: &'data ImageSymbolEx§selection: u8

Implementations

Source§

impl<'data, 'file, R: ReadRef<'data>, Coff: CoffHeader> CoffComdat<'data, 'file, R, Coff>

Source

fn parse( file: &'file CoffFile<'data, R, Coff>, section_symbol: &'data Coff::ImageSymbol, index: SymbolIndex, ) -> Option<CoffComdat<'data, 'file, R, Coff>>

Trait Implementations

Source§

impl<'data, 'file, R: Debug + ReadRef<'data>, Coff: Debug + CoffHeader> Debug for CoffComdat<'data, 'file, R, Coff>
where Coff::ImageSymbol: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'data, 'file, R: ReadRef<'data>, Coff: CoffHeader> ObjectComdat<'data> for CoffComdat<'data, 'file, R, Coff>

Source§

type SectionIterator = CoffComdatSectionIterator<'data, 'file, R, Coff>

An iterator for the sections in the section group.
Source§

fn kind(&self) -> ComdatKind

Returns the COMDAT selection kind.
Source§

fn symbol(&self) -> SymbolIndex

Returns the index of the symbol used for the name of COMDAT section group.
Source§

fn name_bytes(&self) -> Result<&'data [u8]>

Returns the name of the COMDAT section group.
Source§

fn name(&self) -> Result<&'data str>

Returns the name of the COMDAT section group. Read more
Source§

fn sections(&self) -> Self::SectionIterator

Get the sections in this section group.
Source§

impl<'data, 'file, R: ReadRef<'data>, Coff: CoffHeader> Sealed for CoffComdat<'data, 'file, R, Coff>