Struct object::MachOSection
[−]
[src]
pub struct MachOSection<'data> { /* fields omitted */ }
A section of a MachOFile
.
Trait Implementations
impl<'data> Debug for MachOSection<'data>
[src]
impl<'data> ObjectSection<'data> for MachOSection<'data>
[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) -> &'data [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.
fn kind(&self) -> SectionKind
[src]
Return the kind of this section.