Searched refs:EI_Ehdr (Results 1 – 1 of 1) sorted by relevance
99 static Elf_Ehdr EI_Ehdr; /* Elf_Ehdr to be stored */ variable110 return (EI_Ehdr.e_ident[EI_CLASS]); in get_class()117 return (EI_Ehdr.e_ident[EI_VERSION] ? in get_version()118 EI_Ehdr.e_ident[EI_VERSION] : 1); in get_version()124 return (EI_Ehdr.e_ident[EI_DATA]); in get_format()190 Elf_Ehdr *ehdr = &EI_Ehdr; in elf_read()210 EI_Ehdr_shnum = EI_Ehdr.e_shnum; in elf_read()211 EI_Ehdr_phnum = EI_Ehdr.e_phnum; in elf_read()212 EI_Ehdr_shstrndx = EI_Ehdr.e_shstrndx; in elf_read()214 (EI_Ehdr.e_shoff != 0)) { in elf_read()[all …]