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