pub struct MachOSection<'data, 'file, Mach, R = &'data [u8]> where
'data: 'file,
Mach: MachHeader,
R: ReadRef<'data>, { /* private fields */ }
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.
Returns offset and size of on-disk segment (if any).
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.
Returns the name of the segment for this section. Read more
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.