object::read::elf

Type Alias ElfComdat64

Source
pub type ElfComdat64<'data, 'file, Endian = Endianness, R = &'data [u8]> = ElfComdat<'data, 'file, FileHeader64<Endian>, R>;
Expand description

A COMDAT section group of an ElfFile64.

Aliased Type§

struct ElfComdat64<'data, 'file, Endian = Endianness, R = &'data [u8]> { /* private fields */ }

Trait Implementations

Source§

impl<'data, 'file, Elf, R> Debug for ElfComdat<'data, 'file, Elf, R>
where Elf: FileHeader + Debug, R: ReadRef<'data> + Debug, Elf::SectionHeader: Debug, Elf::Endian: Debug,

Source§

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

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

impl<'data, 'file, Elf, R> ObjectComdat<'data> for ElfComdat<'data, 'file, Elf, R>
where Elf: FileHeader, R: ReadRef<'data>,

Source§

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

An iterator over the sections in the object file.
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<&[u8]>

Returns the name of the COMDAT section group.
Source§

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

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

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

Get the sections in this section group.