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>
impl<'data, 'file, R: ReadRef<'data>, Coff: CoffHeader> CoffComdat<'data, 'file, R, Coff>
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,
impl<'data, 'file, R: Debug + ReadRef<'data>, Coff: Debug + CoffHeader> Debug for CoffComdat<'data, 'file, R, Coff>where
Coff::ImageSymbol: Debug,
Source§impl<'data, 'file, R: ReadRef<'data>, Coff: CoffHeader> ObjectComdat<'data> for CoffComdat<'data, 'file, R, Coff>
impl<'data, 'file, R: ReadRef<'data>, Coff: CoffHeader> ObjectComdat<'data> for CoffComdat<'data, 'file, R, Coff>
Source§type SectionIterator = CoffComdatSectionIterator<'data, 'file, R, Coff>
type SectionIterator = CoffComdatSectionIterator<'data, 'file, R, Coff>
An iterator for the sections in the section group.
Source§fn kind(&self) -> ComdatKind
fn kind(&self) -> ComdatKind
Returns the COMDAT selection kind.
Source§fn symbol(&self) -> SymbolIndex
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]>
fn name_bytes(&self) -> Result<&'data [u8]>
Returns the name of the COMDAT section group.
Source§fn sections(&self) -> Self::SectionIterator
fn sections(&self) -> Self::SectionIterator
Get the sections in this section group.