Struct object::read::macho::DyldCacheImage
source · pub struct DyldCacheImage<'data, 'cache, E = Endianness, R = &'data [u8]>where
E: Endian,
R: ReadRef<'data>,{ /* 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>where
E: Endian,
R: ReadRef<'data>,
impl<'data, 'cache, E, R> DyldCacheImage<'data, 'cache, E, R>where
E: Endian,
R: ReadRef<'data>,
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.