Elf32_Ehdr
phnum = ((Elf32_Ehdr *) ehdr)->e_phnum;
shnum = ((Elf32_Ehdr *) ehdr)->e_shnum;
shoff = ((Elf32_Ehdr *) ehdr)->e_shoff;
strndx = ((Elf32_Ehdr *) ehdr)->e_shstrndx;
Elf32_Ehdr *eh32;
eh32 = (Elf32_Ehdr *) ehdr;
Elf32_Ehdr *e_ehdr32;
Elf32_Ehdr eh;
const Elf32_Ehdr *ee;
if (hdr->size >= sizeof(Elf32_Ehdr) && IS_ELF(*ee)) {
Elf32_Ehdr e; /* ELF header */