Searched refs:ParseError (Results 1 – 2 of 2) sorted by relevance
369 fn parse_ehdr(data: &[u8]) -> Result<FileHeader<AnyEndian>, elf::ParseError> { in parse_ehdr() argument400 ) -> Result<Option<elf::segment::SegmentTable<'a, AnyEndian>>, elf::ParseError> { in parse_segments() argument415 .map_err(|_| elf::ParseError::BadOffset(shoff as u64))?; in parse_segments()419 .map_err(|_| elf::ParseError::BadOffset(shoff as u64))?; in parse_segments()439 .ok_or(elf::ParseError::IntegerOverflow)?; in parse_segments()442 .ok_or(elf::ParseError::IntegerOverflow)?; in parse_segments()447 .map_err(|_| elf::ParseError::BadOffset(phoff as u64))?; in parse_segments()502 .map_err(|_| ExecError::ParseError)? in load()503 .ok_or(ExecError::ParseError)? in load()773 fn get_bytes(self, range: Range<usize>) -> Result<&'data [u8], elf::ParseError>; in get_bytes() argument[all …]
62 ParseError, enumerator79 ExecError::ParseError => SystemError::ENOEXEC, in into()