/toolchain/binutils/binutils-2.27/libiberty/ |
simple-object-elf.c | 85 /* Indexes and values in e_ident field of Ehdr. */ 114 /* Values for e_type field of Ehdr. */ 118 /* Values for e_machine field of Ehdr. */ 257 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in 289 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in 362 unsigned char ehdr[sizeof (Elf64_External_Ehdr)]; local 411 if (!simple_object_internal_read (descriptor, offset, ehdr, sizeof ehdr, 420 eor->machine = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_linux.cc | 872 typedef ElfW(Ehdr) Elf_Ehdr; 875 Elf_Ehdr *ehdr = (Elf_Ehdr *)base; local 876 char *phdrs = base + ehdr->e_phoff; 877 char *phdrs_end = phdrs + ehdr->e_phnum * ehdr->e_phentsize; 883 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { 892 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { [all...] |
/external/elfutils/src/ |
nm.c | 883 class_type_char (Elf *elf, const GElf_Ehdr *ehdr, GElf_Sym *sym) 900 if (ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX 923 show_symbols_bsd (Elf *elf, const GElf_Ehdr *ehdr, GElf_Word strndx, 1014 class_type_char (elf, ehdr, &syms[cnt].sym), marker, 1032 class_type_char (elf, ehdr, &syms[cnt].sym), marker, 1055 show_symbols_posix (Elf *elf, const GElf_Ehdr *ehdr, GElf_Word strndx, 1109 class_type_char (elf, ehdr, &syms[cnt].sym), 1212 show_symbols (int fd, Ebl *ebl, GElf_Ehdr *ehdr, 1520 GElf_Ehdr *ehdr; local [all...] |
unstrip.c | 256 GElf_Ehdr *ehdr = gelf_getehdr (inelf, &ehdr_mem); 257 ELF_CHECK (gelf_update_ehdr (outelf, ehdr), 1016 } ehdr; 1019 .d_buf = &ehdr, 1020 .d_size = sizeof ehdr, 1033 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) 1035 phnum = ehdr.e32.e_phnum; 1036 shnum = ehdr.e32.e_shnum; 1040 phnum = ehdr.e64.e_phnum; 1041 shnum = ehdr.e64.e_shnum 255 GElf_Ehdr *ehdr = gelf_getehdr (inelf, &ehdr_mem); local 1014 } ehdr; local 1920 GElf_Ehdr *ehdr = gelf_getehdr (unstripped, &ehdr_mem); local [all...] |
elflint.c | 96 static void check_note_section (Ebl *ebl, GElf_Ehdr *ehdr, 354 check_elf_header (Ebl *ebl, GElf_Ehdr *ehdr, size_t size) 360 if (ehdr->e_ident[EI_MAG0] != ELFMAG0) 362 if (ehdr->e_ident[EI_MAG1] != ELFMAG1) 364 if (ehdr->e_ident[EI_MAG2] != ELFMAG2) 366 if (ehdr->e_ident[EI_MAG3] != ELFMAG3) 369 if (ehdr->e_ident[EI_CLASS] != ELFCLASS32 370 && ehdr->e_ident[EI_CLASS] != ELFCLASS64) 372 EI_CLASS, ehdr->e_ident[EI_CLASS]); 374 if (ehdr->e_ident[EI_DATA] != ELFDATA2LS 4678 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem); local [all...] |
ld.h | 130 XElf_Ehdr *ehdr; member in struct:usedfiles 133 XElf_Ehdr ehdr; member in struct:usedfiles 252 && FILEINFO_EHDR (file->ehdr).e_type == ET_REL); 259 && FILEINFO_EHDR (file->ehdr).e_type == ET_DYN); [all...] |
ldgeneric.c | 588 bool old_in_dso = FILEINFO_EHDR (oldp->file->ehdr).e_type == ET_DYN; 589 bool new_in_dso = FILEINFO_EHDR (fileinfo->ehdr).e_type == ET_DYN; 1987 XElf_Ehdr *ehdr; local [all...] |
readelf.c | 246 static void print_ehdr (Ebl *ebl, GElf_Ehdr *ehdr); 247 static void print_shdr (Ebl *ebl, GElf_Ehdr *ehdr); 248 static void print_phdr (Ebl *ebl, GElf_Ehdr *ehdr); 251 static void print_relocs (Ebl *ebl, GElf_Ehdr *ehdr); 252 static void handle_relocs_rel (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, 254 static void handle_relocs_rela (Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, 263 static void print_debug (Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr); 265 static void handle_notes (Ebl *ebl, GElf_Ehdr *ehdr); 267 static void print_attributes (Ebl *ebl, const GElf_Ehdr *ehdr); 832 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem) local 8655 GElf_Ehdr *ehdr = gelf_getehdr (core, &ehdr_mem); local [all...] |
/external/valgrind/coregrind/m_debuginfo/ |
readelf.c | 147 const ElfXX_Ehdr* ehdr = image; local 153 ok &= (ehdr->e_ident[EI_MAG0] == 0x7F 154 && ehdr->e_ident[EI_MAG1] == 'E' 155 && ehdr->e_ident[EI_MAG2] == 'L' 156 && ehdr->e_ident[EI_MAG3] == 'F'); 157 ok &= (ehdr->e_ident[EI_CLASS] == VG_ELF_CLASS 158 && ehdr->e_ident[EI_DATA] == VG_ELF_DATA2XXX 159 && ehdr->e_ident[EI_VERSION] == EV_CURRENT); 160 ok &= (ehdr->e_type == ET_EXEC || ehdr->e_type == ET_DY 180 ElfXX_Ehdr ehdr; local 1120 ElfXX_Ehdr ehdr; local [all...] |
/external/wpa_supplicant_8/src/eapol_supp/ |
eapol_supp_sm.c | 1298 const struct eap_hdr *ehdr = local 1332 const struct eap_hdr *ehdr = local [all...] |
/external/syslinux/gpxe/src/drivers/net/ |
tulip.c | 410 unsigned char ehdr[ETH_HLEN]; /* buffer for ethernet header */ 409 unsigned char ehdr[ETH_HLEN]; \/* buffer for ethernet header *\/ member in struct:tulip_private [all...] |
/prebuilts/go/darwin-x86/src/cmd/link/internal/ld/ |
elf.go | 463 ehdr ElfEhdr 498 ehdr.flags = 1 /* Version 1 ABI */ 500 ehdr.flags = 2 /* Version 2 ABI */ 505 ehdr.flags = 0x20000004 /* MIPS 3 CPIC */ 509 ehdr.phoff = ELF64HDRSIZE /* Must be be ELF64HDRSIZE: first PHdr must follow ELF header */ 510 ehdr.shoff = ELF64HDRSIZE /* Will move as we add PHeaders */ 511 ehdr.ehsize = ELF64HDRSIZE /* Must be ELF64HDRSIZE */ 512 ehdr.phentsize = ELF64PHDRSIZE /* Must be ELF64PHDRSIZE */ 513 ehdr.shentsize = ELF64SHDRSIZE /* Must be ELF64SHDRSIZE */ 528 ehdr.flags = 0x5000002 // has entry point, Version5 EAB 461 ehdr ElfEhdr var [all...] |
/prebuilts/go/linux-x86/src/cmd/link/internal/ld/ |
elf.go | 463 ehdr ElfEhdr 498 ehdr.flags = 1 /* Version 1 ABI */ 500 ehdr.flags = 2 /* Version 2 ABI */ 505 ehdr.flags = 0x20000004 /* MIPS 3 CPIC */ 509 ehdr.phoff = ELF64HDRSIZE /* Must be be ELF64HDRSIZE: first PHdr must follow ELF header */ 510 ehdr.shoff = ELF64HDRSIZE /* Will move as we add PHeaders */ 511 ehdr.ehsize = ELF64HDRSIZE /* Must be ELF64HDRSIZE */ 512 ehdr.phentsize = ELF64PHDRSIZE /* Must be ELF64PHDRSIZE */ 513 ehdr.shentsize = ELF64SHDRSIZE /* Must be ELF64SHDRSIZE */ 528 ehdr.flags = 0x5000002 // has entry point, Version5 EAB 461 ehdr ElfEhdr var [all...] |
/toolchain/binutils/binutils-2.27/bfd/ |
elf32-spu.c | 267 Elf_Internal_Ehdr *ehdr = elf_elfheader (abfd); local 270 for (num_buf = 0, num_ovl = 0, i = 0; i < ehdr->e_phnum; i++, phdr++) [all...] |
elf64-ia64-vms.c | 211 Elf64_External_Ehdr ehdr; member in struct:__anon4045 [all...] |
elf.c | 1909 Elf_Internal_Ehdr *ehdr; local [all...] |
elflink.c | 3603 Elf_Internal_Ehdr *ehdr; local [all...] |
/external/valgrind/perf/ |
tinycc.c | 19213 Elf32_Ehdr ehdr; local 19864 Elf32_Ehdr ehdr; local 20213 Elf32_Ehdr ehdr; local 20940 Elf32_Ehdr ehdr; local [all...] |