pub struct Stub<'a> { /* private fields */ }
Expand description
This class represents a stub entry in sections like __stubs,__auth_stubs
.
It wraps assembly instructions which are used to access the got where the address of the symbol is resolved.
Example:
0000000236a3c1bc: ___memcpy_chk
adrp x17, #0x241513aa8
add x17, x17, #0x241513aa8
ldr x16, [x17]
braa x16, x17
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Stub<'a>
impl<'a> !Send for Stub<'a>
impl<'a> !Sync for Stub<'a>
impl<'a> Unpin for Stub<'a>
impl<'a> UnwindSafe for Stub<'a>
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