Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/libs/
Delf.rs61 ehdr: &FileHeader<AnyEndian>, in inner_probe_common()
64 if ehdr.class != elf::file::Class::ELF64 { in inner_probe_common()
71 if ElfType::from(ehdr.e_type) != ElfType::Executable in inner_probe_common()
72 && ElfType::from(ehdr.e_type) != ElfType::DSO in inner_probe_common()
87 ehdr: &FileHeader<AnyEndian>, in probe_x86_64()
90 if ElfMachine::from(ehdr.e_machine) != ElfMachine::X86_64 { in probe_x86_64()
93 return self.inner_probe_common(param, ehdr); in probe_x86_64()
100 ehdr: &FileHeader<AnyEndian>, in probe_riscv()
103 if ElfMachine::from(ehdr.e_machine) != ElfMachine::RiscV { in probe_riscv()
106 return self.inner_probe_common(param, ehdr); in probe_riscv()
[all …]