Searched refs:Hdr32 (Results 1 – 1 of 1) sorted by relevance
89 Elf32_Ehdr *Hdr32 = (Elf32_Ehdr*)Buf; in ElfCheckHeader() local91 if (!IS_ELF (*Hdr32)) { in ElfCheckHeader()96 if (Hdr32->e_type != ET_EXEC) { in ElfCheckHeader()101 if (Hdr32->e_ident[EI_CLASS] == ELFCLASS32) { in ElfCheckHeader()102 if ((Hdr32->e_phoff == 0) || (Hdr32->e_phentsize == 0) || (Hdr32->e_phnum == 0)) { in ElfCheckHeader()107 if (Hdr32->e_flags != 0) { in ElfCheckHeader()111 DEBUG ((EFI_D_INFO, "Entry point addr: 0x%lx\n", Hdr32->e_entry)); in ElfCheckHeader()112 DEBUG ((EFI_D_INFO, "Start of program headers: 0x%lx\n", Hdr32->e_phoff)); in ElfCheckHeader()113 DEBUG ((EFI_D_INFO, "Size of 1 program header: %d\n", Hdr32->e_phentsize)); in ElfCheckHeader()114 DEBUG ((EFI_D_INFO, "Number of program headers: %d\n", Hdr32->e_phnum)); in ElfCheckHeader()[all …]