Struct gimli::read::cfi::EhHdrTableIter
source · pub struct EhHdrTableIter<'a, 'bases, R: Reader> {
hdr: &'a ParsedEhFrameHdr<R>,
table: R,
bases: &'bases BaseAddresses,
remain: u64,
}
Expand description
An iterator for .eh_frame_hdr
section’s binary search table.
Each table entry consists of a tuple containing an initial_location
and address
.
The initial location
represents the first address that the targeted FDE
is able to decode. The address
is the address of the FDE in the .eh_frame
section.
The address
can be converted with EhHdrTable::pointer_to_offset
and EhFrame::fde_from_offset
to an FDE.
Fields§
§hdr: &'a ParsedEhFrameHdr<R>
§table: R
§bases: &'bases BaseAddresses
§remain: u64
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'bases, R> Freeze for EhHdrTableIter<'a, 'bases, R>where
R: Freeze,
impl<'a, 'bases, R> RefUnwindSafe for EhHdrTableIter<'a, 'bases, R>where
R: RefUnwindSafe,
impl<'a, 'bases, R> Send for EhHdrTableIter<'a, 'bases, R>
impl<'a, 'bases, R> Sync for EhHdrTableIter<'a, 'bases, R>where
R: Sync,
impl<'a, 'bases, R> Unpin for EhHdrTableIter<'a, 'bases, R>where
R: Unpin,
impl<'a, 'bases, R> UnwindSafe for EhHdrTableIter<'a, 'bases, R>where
R: UnwindSafe + RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more