Searched refs:EI_CLASS (Results 1 – 25 of 49) sorted by relevance
12
37 ((x)->e_ident[EI_CLASS] == ELF_CLASS))122 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
180 && (x)->e_ident[EI_CLASS] == ELF_CLASS) 183 && (x)->e_ident[EI_CLASS] == ELF_CLASS)264 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
24 elf64->e_ident[EI_CLASS] == ELFCLASS64 && in parse_elf64()60 elf32->e_ident[EI_CLASS] == ELFCLASS32 && in parse_elf32()
53 if (elf64->e_ident[EI_CLASS] == ELFCLASS64) { in of_image_hdr()
101 #define EI_CLASS 4 macro142 e_class = buf[E_IDENT+EI_CLASS]; in main()
121 #define EI_CLASS 4 macro
247 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \312 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELF_CLASS)314 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELFCLASS32)
90 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_elf_pt_proc()150 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf()172 ielf32 = iehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf()
44 TEST_ASSERT(ident[EI_CLASS] == ELFCLASS64, in elfhdr_get()50 ident[EI_CLASS], ELFCLASS64); in elfhdr_get()
27 return ehdr->e_ident[EI_CLASS]; in fw_elf_get_class()33 hdr->e_ident[EI_CLASS] = class; in elf_hdr_init_ident()
154 if (ehdr->e_ident[EI_CLASS] == ELFCLASS32) in build_id_parse()156 else if (ehdr->e_ident[EI_CLASS] == ELFCLASS64) in build_id_parse()
148 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()151 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
287 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \315 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \399 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
207 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \223 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
175 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()178 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
21 switch (ei[EI_CLASS]) { in main()
135 if (ehdr->e_ident[EI_CLASS] != ELF_CLASS) { in elf_read_ehdr()160 switch (ehdr->e_ident[EI_CLASS]) { in elf_read_ehdr()218 switch (ehdr->e_ident[EI_CLASS]) { in elf_read_phdr()
79 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
75 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
331 switch (ehdr->e_ident[EI_CLASS]) { in do_file()356 ehdr->e_ident[EI_CLASS], fname); in do_file()
63 switch (hdr.ehdr32.e_ident[EI_CLASS]) { in main()
204 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
115 if (e_ident[EI_CLASS] == ELFCLASS32) { in filename__read_build_id()315 return e_ident[EI_CLASS] == ELFCLASS64; in fd__is_64_bit()
89 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
80 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in s390_elf_load()