| /src/usr.sbin/mdsetimage/ |
| exec_elf32.c | 59 const Elf_Ehdr *ehdrp; local 64 if (check(0, sizeof *ehdrp)) 66 ehdrp = (const Elf_Ehdr *)&mappedfile[0]; 68 if (memcmp(ehdrp->e_ident, ELFMAG, SELFMAG) != 0 || 69 ehdrp->e_ident[EI_CLASS] != ELFCLASS) 72 switch (ehdrp->e_machine) { 87 const Elf_Ehdr *ehdrp; local 100 ehdrp = (const Elf_Ehdr *)&mappedfile[0]; 101 nphdr = ehdrp->e_phnum; 102 phdr_off = ehdrp->e_phoff [all...] |
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| Elf.cc | 124 ehdrp = NULL; 160 ehdrp = elf_getehdr (); 161 if (ehdrp == NULL) 168 elf_class = ehdrp->e_ident[EI_CLASS]; 169 elf_datatype = ehdrp->e_ident[EI_DATA]; 226 for (int i = 0; i < (int) ehdrp->e_shnum; i++) 242 for (int i = 0; i < (int) ehdrp->e_shnum; i++) 266 if (ehdrp == NULL && abfd) 267 ehdrp = elf_elfheader (abfd); 268 return ehdrp; [all...] |
| Elf.h | 149 Elf_Internal_Ehdr *ehdrp; member in class:Elf
|
| checks.cc | 303 Elf_Internal_Ehdr *ehdrp = elf->elf_getehdr (); local 304 if (ehdrp == NULL) 306 unsigned short machine = ehdrp->e_machine; 346 for (unsigned cnt = 0; cnt < ehdrp->e_phnum; cnt++)
|
| /src/external/gpl3/binutils.old/dist/gprofng/src/ |
| Elf.cc | 124 ehdrp = NULL; 160 ehdrp = elf_getehdr (); 161 if (ehdrp == NULL) 168 elf_class = ehdrp->e_ident[EI_CLASS]; 169 elf_datatype = ehdrp->e_ident[EI_DATA]; 226 for (int i = 0; i < (int) ehdrp->e_shnum; i++) 242 for (int i = 0; i < (int) ehdrp->e_shnum; i++) 266 if (ehdrp == NULL && abfd) 267 ehdrp = elf_elfheader (abfd); 268 return ehdrp; [all...] |
| Elf.h | 149 Elf_Internal_Ehdr *ehdrp; member in class:Elf
|
| checks.cc | 303 Elf_Internal_Ehdr *ehdrp = elf->elf_getehdr (); local 304 if (ehdrp == NULL) 306 unsigned short machine = ehdrp->e_machine; 346 for (unsigned cnt = 0; cnt < ehdrp->e_phnum; cnt++)
|
| /src/external/gpl3/binutils/dist/bfd/ |
| elf32-gen.c | 67 Elf_Internal_Ehdr *ehdrp; local 69 ehdrp = elf_elfheader (abfd); 72 abfd, ehdrp->e_machine);
|
| elf64-gen.c | 67 Elf_Internal_Ehdr *ehdrp; local 69 ehdrp = elf_elfheader (abfd); 72 abfd, ehdrp->e_machine);
|
| elfcode.h | 1752 elf_debug_file (Elf_Internal_Ehdr *ehdrp) 1754 fprintf (stderr, "e_entry = 0x%.8lx\n", (long) ehdrp->e_entry); 1755 fprintf (stderr, "e_phoff = %ld\n", (long) ehdrp->e_phoff); 1756 fprintf (stderr, "e_phnum = %ld\n", (long) ehdrp->e_phnum); 1757 fprintf (stderr, "e_phentsize = %ld\n", (long) ehdrp->e_phentsize); 1758 fprintf (stderr, "e_shoff = %ld\n", (long) ehdrp->e_shoff); 1759 fprintf (stderr, "e_shnum = %ld\n", (long) ehdrp->e_shnum); 1760 fprintf (stderr, "e_shentsize = %ld\n", (long) ehdrp->e_shentsize);
|
| /src/external/gpl3/binutils.old/dist/bfd/ |
| elf32-gen.c | 67 Elf_Internal_Ehdr *ehdrp; local 69 ehdrp = elf_elfheader (abfd); 72 abfd, ehdrp->e_machine);
|
| elf64-gen.c | 67 Elf_Internal_Ehdr *ehdrp; local 69 ehdrp = elf_elfheader (abfd); 72 abfd, ehdrp->e_machine);
|
| elfcode.h | 1753 elf_debug_file (Elf_Internal_Ehdr *ehdrp) 1755 fprintf (stderr, "e_entry = 0x%.8lx\n", (long) ehdrp->e_entry); 1756 fprintf (stderr, "e_phoff = %ld\n", (long) ehdrp->e_phoff); 1757 fprintf (stderr, "e_phnum = %ld\n", (long) ehdrp->e_phnum); 1758 fprintf (stderr, "e_phentsize = %ld\n", (long) ehdrp->e_phentsize); 1759 fprintf (stderr, "e_shoff = %ld\n", (long) ehdrp->e_shoff); 1760 fprintf (stderr, "e_shnum = %ld\n", (long) ehdrp->e_shnum); 1761 fprintf (stderr, "e_shentsize = %ld\n", (long) ehdrp->e_shentsize);
|
| /src/external/gpl3/gdb/dist/bfd/ |
| elf32-gen.c | 67 Elf_Internal_Ehdr *ehdrp; local 69 ehdrp = elf_elfheader (abfd); 72 abfd, ehdrp->e_machine);
|
| elf64-gen.c | 67 Elf_Internal_Ehdr *ehdrp; local 69 ehdrp = elf_elfheader (abfd); 72 abfd, ehdrp->e_machine);
|
| elfcode.h | 1753 elf_debug_file (Elf_Internal_Ehdr *ehdrp) 1755 fprintf (stderr, "e_entry = 0x%.8lx\n", (long) ehdrp->e_entry); 1756 fprintf (stderr, "e_phoff = %ld\n", (long) ehdrp->e_phoff); 1757 fprintf (stderr, "e_phnum = %ld\n", (long) ehdrp->e_phnum); 1758 fprintf (stderr, "e_phentsize = %ld\n", (long) ehdrp->e_phentsize); 1759 fprintf (stderr, "e_shoff = %ld\n", (long) ehdrp->e_shoff); 1760 fprintf (stderr, "e_shnum = %ld\n", (long) ehdrp->e_shnum); 1761 fprintf (stderr, "e_shentsize = %ld\n", (long) ehdrp->e_shentsize);
|
| /src/external/gpl3/gdb.old/dist/bfd/ |
| elf32-gen.c | 67 Elf_Internal_Ehdr *ehdrp; local 69 ehdrp = elf_elfheader (abfd); 72 abfd, ehdrp->e_machine);
|
| elf64-gen.c | 67 Elf_Internal_Ehdr *ehdrp; local 69 ehdrp = elf_elfheader (abfd); 72 abfd, ehdrp->e_machine);
|
| elfcode.h | 1752 elf_debug_file (Elf_Internal_Ehdr *ehdrp) 1754 fprintf (stderr, "e_entry = 0x%.8lx\n", (long) ehdrp->e_entry); 1755 fprintf (stderr, "e_phoff = %ld\n", (long) ehdrp->e_phoff); 1756 fprintf (stderr, "e_phnum = %ld\n", (long) ehdrp->e_phnum); 1757 fprintf (stderr, "e_phentsize = %ld\n", (long) ehdrp->e_phentsize); 1758 fprintf (stderr, "e_shoff = %ld\n", (long) ehdrp->e_shoff); 1759 fprintf (stderr, "e_shnum = %ld\n", (long) ehdrp->e_shnum); 1760 fprintf (stderr, "e_shentsize = %ld\n", (long) ehdrp->e_shentsize);
|
| /src/usr.sbin/kvm_mkdb/ |
| nlist_elf32.c | 102 Elf_Ehdr *ehdrp; local 183 if (check(0, sizeof *ehdrp)) 185 ehdrp = (Elf_Ehdr *)&mappedfile[0]; 187 if (memcmp(ehdrp->e_ident, ELFMAG, SELFMAG) != 0 || 188 ehdrp->e_ident[EI_CLASS] != ELFCLASS) 191 switch (ehdrp->e_machine) { 206 nshdr = ehdrp->e_shnum; 207 shdr_off = ehdrp->e_shoff; 208 shdr_size = ehdrp->e_shentsize * nshdr; 211 (sizeof *shdrp != ehdrp->e_shentsize) [all...] |
| /src/lib/libc/gen/ |
| nlist_elf32.c | 89 Elf_Ehdr *ehdrp; local 233 if (check(0, sizeof *ehdrp)) 235 ehdrp = (Elf_Ehdr *)(void *)&mappedfile[0]; 240 nshdr = ehdrp->e_shnum; 241 shdr_off = ehdrp->e_shoff; 242 shdr_size = ehdrp->e_shentsize * nshdr; 245 (sizeof *shdrp != ehdrp->e_shentsize))
|