pub struct MaterializedImage { /* private fields */ }Expand description
A reconstructed Mach-O file and its source-coordinate map.
Implementations§
Source§impl MaterializedImage
impl MaterializedImage
Sourcepub fn into_bytes(self) -> Vec<u8> ⓘ
pub fn into_bytes(self) -> Vec<u8> ⓘ
Consume the result and return its parseable bytes.
Sourcepub fn mappings(&self) -> &[FileRvaMapping]
pub fn mappings(&self) -> &[FileRvaMapping]
File-to-RVA mappings in file order.
Sourcepub fn synthetic_padding(&self) -> &[Range<u64>]
pub fn synthetic_padding(&self) -> &[Range<u64>]
Unbacked file ranges filled with zero solely to preserve file layout.
Consumers must not cite these ranges as captured evidence.
Trait Implementations§
Source§impl Clone for MaterializedImage
impl Clone for MaterializedImage
Source§impl Debug for MaterializedImage
impl Debug for MaterializedImage
impl Eq for MaterializedImage
Source§impl PartialEq for MaterializedImage
impl PartialEq for MaterializedImage
impl StructuralPartialEq for MaterializedImage
Auto Trait Implementations§
impl Freeze for MaterializedImage
impl RefUnwindSafe for MaterializedImage
impl Send for MaterializedImage
impl Sync for MaterializedImage
impl Unpin for MaterializedImage
impl UnsafeUnpin for MaterializedImage
impl UnwindSafe for MaterializedImage
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