pub struct DyldCacheSlidePointer5(pub u64);
Expand description
Corresponds to struct dyld_cache_slide_pointer5 from dyld_cache_format.h.
Tuple Fields§
§0: u64
Implementations§
Source§impl DyldCacheSlidePointer5
impl DyldCacheSlidePointer5
Sourcepub fn runtime_offset(&self) -> u64
pub fn runtime_offset(&self) -> u64
The target of the pointer as an offset from the start of the shared cache.
Sourcepub fn diversity(&self) -> u16
pub fn diversity(&self) -> u16
The diversity value for authentication.
Only valid if is_auth
is true.
Sourcepub fn addr_div(&self) -> bool
pub fn addr_div(&self) -> bool
Whether to use address diversity for authentication.
Only valid if is_auth
is true.
Sourcepub fn key_is_data(&self) -> bool
pub fn key_is_data(&self) -> bool
Whether the key is IA or DA.
Only valid if is_auth
is true.
Trait Implementations§
Source§impl Clone for DyldCacheSlidePointer5
impl Clone for DyldCacheSlidePointer5
Source§fn clone(&self) -> DyldCacheSlidePointer5
fn clone(&self) -> DyldCacheSlidePointer5
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DyldCacheSlidePointer5
impl Debug for DyldCacheSlidePointer5
impl Copy for DyldCacheSlidePointer5
Auto Trait Implementations§
impl Freeze for DyldCacheSlidePointer5
impl RefUnwindSafe for DyldCacheSlidePointer5
impl Send for DyldCacheSlidePointer5
impl Sync for DyldCacheSlidePointer5
impl Unpin for DyldCacheSlidePointer5
impl UnwindSafe for DyldCacheSlidePointer5
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