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