Function goblin::mach::parse_magic_and_ctx [−][src]
pub fn parse_magic_and_ctx(
bytes: &[u8],
offset: usize
) -> Result<(u32, Option<Ctx>)>
Parses a magic number, and an accompanying mach-o binary parsing context, according to the magic number.