pub enum Extent {
Table,
Limit,
Reachable,
Gap {
len: u32,
decodable_end: u32,
},
}Expand description
How the end of a function’s code was established.
A method header gives no code length. The code ends where the exception table or debug records begin, if the function has either. Otherwise the only evidence is the code itself and where the next function starts.
Variants§
Table
The header locates a table that follows the code.
Limit
The code runs exactly to the start of the next known function, or to the end of its page.
Reachable
The code was followed along its branches; nothing more is known about what lies beyond the last reachable instruction.
Gap
Reachable code ends before the next known function, and the bytes between are not a whole number of instructions. They may be an undiscovered function.
Trait Implementations§
impl Copy for Extent
impl Eq for Extent
impl StructuralPartialEq for Extent
Auto Trait Implementations§
impl Forget for Extent
impl Freeze for Extent
impl Move for Extent
impl RefUnwindSafe for Extent
impl Send for Extent
impl Sync for Extent
impl Unpin for Extent
impl UnsafeUnpin for Extent
impl UnwindSafe for Extent
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