pub fn address_to_file_offset<E: Endian>(
address: u64,
endian: E,
mappings: &[DyldCacheMappingInfo<E>],
) -> Option<u64>
Expand description
Find the file offset of the image by looking up its address in the mappings.
pub fn address_to_file_offset<E: Endian>(
address: u64,
endian: E,
mappings: &[DyldCacheMappingInfo<E>],
) -> Option<u64>
Find the file offset of the image by looking up its address in the mappings.