Home
last modified time | relevance | path

Searched refs:ehdr (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Delf.rs54 ehdr: &FileHeader<AnyEndian>, in probe_x86_64()
57 if ehdr.class != elf::file::Class::ELF64 { in probe_x86_64()
62 if ElfMachine::from(ehdr.e_machine) != ElfMachine::X86_64 { in probe_x86_64()
69 if ElfType::from(ehdr.e_type) != ElfType::Executable { in probe_x86_64()
346 ehdr: &elf::file::FileHeader<AnyEndian>, in create_auxv()
353 .insert(AtType::PhEnt as u8, ehdr.e_phentsize as usize); in create_auxv()
360 .insert(AtType::PhNum as u8, ehdr.e_phnum as usize); in create_auxv()
380 let ehdr: FileHeader<_> = FileHeader::parse_tail(ident, tail_buf)?; in parse_ehdr() localVariable
381 return Ok(ehdr); in parse_ehdr()
398 ehdr: &FileHeader<AnyEndian>, in parse_segments()
[all …]
/DragonOS-0.1.8/kernel/src/common/
Delf.h367 bool elf_check(void * ehdr);