Struct object::ElfSection
[−]
[src]
pub struct ElfSection<'a> { /* fields omitted */ }
A section of an ElfFile
.
Trait Implementations
impl<'a> Debug for ElfSection<'a>
[src]
impl<'a> ObjectSection<'a> for ElfSection<'a>
[src]
fn address(&self) -> u64
[src]
Returns the address of the section.
fn size(&self) -> u64
[src]
Returns the size of the section in memory.
fn data(&self) -> &'a [u8]
[src]
Returns a reference to the contents of the section. The length of this data may be different from the size of the section in memory. Read more
fn name(&self) -> Option<&str>
[src]
Returns the name of the section.
fn segment_name(&self) -> Option<&str>
[src]
Returns the name of the segment for this section.