Struct object::MachOSection
[−]
[src]
pub struct MachOSection<'a> { /* fields omitted */ }
A section of a MachOFile
.
Trait Implementations
impl<'a> Debug for MachOSection<'a>
[src]
impl<'a> ObjectSection<'a> for MachOSection<'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.