Searched refs:parse_ehdr (Results 1 – 1 of 1) sorted by relevance
369 fn parse_ehdr(data: &[u8]) -> Result<FileHeader<AnyEndian>, elf::ParseError> { in parse_ehdr() method468 let ehdr = Self::parse_ehdr(buf).map_err(|_| ExecError::NotExecutable)?; in probe()483 let ehdr = Self::parse_ehdr(head_buf).map_err(|_| ExecError::NotExecutable)?; in load()