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, Elf, R> ObjectComdat<'data> for ElfComdat<'data, 'file, Elf, R> where
    Elf: FileHeader,
    R: ReadRef<'data>, 
[src]

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

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

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

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

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

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

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

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

type SectionIterator = ComdatSectionIterator<'data, 'file, R>

Loading content...