pub struct DyldCache<'data, E = Endianness, R = &'data [u8]> where
E: Endian,
R: ReadRef<'data>, { /* private fields */ }
Expand description
A parsed representation of the dyld shared cache.
Implementations
sourceimpl<'data, E, R> DyldCache<'data, E, R> where
E: Endian,
R: ReadRef<'data>,
impl<'data, E, R> DyldCache<'data, E, R> where
E: Endian,
R: ReadRef<'data>,
sourcepub fn architecture(&self) -> Architecture
pub fn architecture(&self) -> Architecture
Get the architecture type of the file.
sourcepub fn endianness(&self) -> Endianness
pub fn endianness(&self) -> Endianness
Get the endianness of the file.
sourcepub fn is_little_endian(&self) -> bool
pub fn is_little_endian(&self) -> bool
Return true if the file is little endian, false if it is big endian.
sourcepub fn images<'cache>(
&'cache self
) -> DyldCacheImageIterator<'data, 'cache, E, R>ⓘNotable traits for DyldCacheImageIterator<'data, 'cache, E, R>impl<'data, 'cache, E, R> Iterator for DyldCacheImageIterator<'data, 'cache, E, R> where
E: Endian,
R: ReadRef<'data>, type Item = DyldCacheImage<'data, E, R>;
pub fn images<'cache>(
&'cache self
) -> DyldCacheImageIterator<'data, 'cache, E, R>ⓘNotable traits for DyldCacheImageIterator<'data, 'cache, E, R>impl<'data, 'cache, E, R> Iterator for DyldCacheImageIterator<'data, 'cache, E, R> where
E: Endian,
R: ReadRef<'data>, type Item = DyldCacheImage<'data, E, R>;
E: Endian,
R: ReadRef<'data>, type Item = DyldCacheImage<'data, E, R>;
Iterate over the images in this cache.
Trait Implementations
Auto Trait Implementations
impl<'data, E, R> RefUnwindSafe for DyldCache<'data, E, R> where
E: RefUnwindSafe,
R: RefUnwindSafe,
impl<'data, E, R> Send for DyldCache<'data, E, R> where
E: Send + Sync,
R: Send,
impl<'data, E, R> Sync for DyldCache<'data, E, R> where
E: Sync,
R: Sync,
impl<'data, E, R> Unpin for DyldCache<'data, E, R> where
E: Unpin,
R: Unpin,
impl<'data, E, R> UnwindSafe for DyldCache<'data, E, R> where
E: UnwindSafe + RefUnwindSafe,
R: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more