pub struct Section<'data, 'file, R: ReadRef<'data> = &'data [u8]> where
'data: 'file, { /* private fields */ }
Expand description
A Section of a File
Trait Implementations
type RelocationIterator = SectionRelocationIterator<'data, 'file, R>
type RelocationIterator = SectionRelocationIterator<'data, 'file, 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) -> SectionRelocationIterator<'data, 'file, R>ⓘNotable traits for SectionRelocationIterator<'data, 'file, R>impl<'data, 'file, R: ReadRef<'data>> Iterator for SectionRelocationIterator<'data, 'file, R> type Item = (u64, Relocation);
fn relocations(&self) -> SectionRelocationIterator<'data, 'file, R>ⓘNotable traits for SectionRelocationIterator<'data, 'file, R>impl<'data, 'file, R: ReadRef<'data>> Iterator for SectionRelocationIterator<'data, 'file, R> type Item = (u64, Relocation);
Notable traits for SectionRelocationIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for SectionRelocationIterator<'data, 'file, R> type Item = (u64, Relocation);
Get the relocations for this section.
Section flags that are specific to each file format.