Enum goblin::mach::Mach
[−]
[src]
pub enum Mach<'a> { Fat(MultiArch<'a>), Binary(MachO<'a>), }
Either a collection of multiple architectures, or a single mach-o binary
Variants
Fat(MultiArch<'a>)
A "fat" multi-architecture binary container
Binary(MachO<'a>)
A regular Mach-o binary
Methods
impl<'a> Mach<'a>
[src]
fn parse(bytes: &'a [u8]) -> Result<Self>
Parse from bytes
either a multi-arch binary or a regular mach-o binary