Trait object::read::ObjectComdat[][src]

pub trait ObjectComdat<'data>: Sealed {
    type SectionIterator: Iterator<Item = SectionIndex>;
    fn kind(&self) -> ComdatKind;
fn symbol(&self) -> SymbolIndex;
fn name(&self) -> Result<&str>;
fn sections(&self) -> Self::SectionIterator; }

A COMDAT section group defined in an object file.

Associated Types

type SectionIterator: Iterator<Item = SectionIndex>[src]

An iterator over the sections in the object file.

Loading content...

Required methods

fn kind(&self) -> ComdatKind[src]

Returns the COMDAT selection kind.

fn symbol(&self) -> SymbolIndex[src]

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

fn name(&self) -> Result<&str>[src]

Returns the name of the COMDAT section group.

fn sections(&self) -> Self::SectionIterator[src]

Get the sections in this section group.

Loading content...

Implementors

impl<'data, 'file> ObjectComdat<'data> for CoffComdat<'data, 'file>[src]

type SectionIterator = CoffComdatSectionIterator<'data, 'file>

impl<'data, 'file> ObjectComdat<'data> for Comdat<'data, 'file>[src]

type SectionIterator = ComdatSectionIterator<'data, 'file>

impl<'data, 'file, Elf: FileHeader> ObjectComdat<'data> for ElfComdat<'data, 'file, Elf>[src]

type SectionIterator = ElfComdatSectionIterator<'data, 'file, Elf>

impl<'data, 'file, Mach: MachHeader> ObjectComdat<'data> for MachOComdat<'data, 'file, Mach>[src]

type SectionIterator = MachOComdatSectionIterator<'data, 'file, Mach>

impl<'data, 'file, Pe: ImageNtHeaders> ObjectComdat<'data> for PeComdat<'data, 'file, Pe>[src]

type SectionIterator = PeComdatSectionIterator<'data, 'file, Pe>

Loading content...