Struct object::read::macho::MachOSection [−][src]
pub struct MachOSection<'data, 'file, Mach, R = &'data [u8]> where
'data: 'file,
Mach: MachHeader,
R: ReadRef<'data>, { /* fields omitted */ }
Expand description
A section of a MachOFile
.
Trait Implementations
impl<'data, 'file, Mach: Debug, R: Debug> Debug for MachOSection<'data, 'file, Mach, R> where
'data: 'file,
Mach: MachHeader,
R: ReadRef<'data>,
impl<'data, 'file, Mach: Debug, R: Debug> Debug for MachOSection<'data, 'file, Mach, R> where
'data: 'file,
Mach: MachHeader,
R: ReadRef<'data>,
impl<'data, 'file, Mach, R> ObjectSection<'data> for MachOSection<'data, 'file, Mach, R> where
Mach: MachHeader,
R: ReadRef<'data>,
impl<'data, 'file, Mach, R> ObjectSection<'data> for MachOSection<'data, 'file, Mach, R> where
Mach: MachHeader,
R: ReadRef<'data>,
type RelocationIterator = MachORelocationIterator<'data, 'file, Mach, R>
type RelocationIterator = MachORelocationIterator<'data, 'file, Mach, R>
An iterator over the relocations for a section. Read more
Returns the section index.
Return the raw contents of the section data in the given range. Read more
Returns the potentially compressed file range of the section, along with information about the compression. Read more
Returns the potentially compressed contents of the section, along with information about the compression. Read more
Returns the name of the segment for this section.
Return the kind of this section.
fn relocations(&self) -> MachORelocationIterator<'data, 'file, Mach, R>ⓘNotable traits for MachORelocationIterator<'data, 'file, Mach, R>impl<'data, 'file, Mach, R> Iterator for MachORelocationIterator<'data, 'file, Mach, R> where
Mach: MachHeader,
R: ReadRef<'data>, type Item = (u64, Relocation);
fn relocations(&self) -> MachORelocationIterator<'data, 'file, Mach, R>ⓘNotable traits for MachORelocationIterator<'data, 'file, Mach, R>impl<'data, 'file, Mach, R> Iterator for MachORelocationIterator<'data, 'file, Mach, R> where
Mach: MachHeader,
R: ReadRef<'data>, type Item = (u64, Relocation);
Notable traits for MachORelocationIterator<'data, 'file, Mach, R>
impl<'data, 'file, Mach, R> Iterator for MachORelocationIterator<'data, 'file, Mach, R> where
Mach: MachHeader,
R: ReadRef<'data>, type Item = (u64, Relocation);
Get the relocations for this section.
Section flags that are specific to each file format.