pub struct DyldCacheImage<'data, 'cache, E = Endianness, R = &'data [u8]>{ /* private fields */ }
Expand description
One image (dylib) from inside the dyld shared cache.
Implementations§
Source§impl<'data, 'cache, E, R> DyldCacheImage<'data, 'cache, E, R>
impl<'data, 'cache, E, R> DyldCacheImage<'data, 'cache, E, R>
Sourcepub fn image_data_and_offset(&self) -> Result<(R, u64)>
pub fn image_data_and_offset(&self) -> Result<(R, u64)>
The subcache data which contains the Mach-O header for this image, together with the file offset at which this image starts.
Sourcepub fn parse_object(&self) -> Result<File<'data, R>>
pub fn parse_object(&self) -> Result<File<'data, R>>
Parse this image into an Object.