/freebsd-11-stable/contrib/elftoolchain/libelf/ |
H A D | gelf_ehdr.c | 78 d->e_phnum = eh32->e_phnum; 161 eh32->e_phnum = s->e_phnum;
|
H A D | libelf_extended.c | 129 ((Elf32_Ehdr *) eh)->e_phnum = phnum & 0xFFFFU; 131 ((Elf64_Ehdr *) eh)->e_phnum = phnum & 0xFFFFU;
|
H A D | libelf_ehdr.c | 179 phnum = ((Elf32_Ehdr *) ehdr)->e_phnum; 184 phnum = ((Elf64_Ehdr *) ehdr)->e_phnum;
|
/freebsd-11-stable/contrib/binutils/include/elf/ |
H A D | external.h | 51 unsigned char e_phnum[2]; /* Program header table entry count */ member in struct:__anon501 68 unsigned char e_phnum[2]; /* Program header table entry count */ member in struct:__anon502
|
H A D | internal.h | 55 unsigned int e_phnum; /* Program header table entry count */ member in struct:elf_internal_ehdr
|
/freebsd-11-stable/contrib/file/src/ |
H A D | elfclass.h | 39 phnum = elf_getu16(swap, elfhdr.e_phnum); 52 phnum = elf_getu16(swap, elfhdr.e_phnum);
|
H A D | readelf.h | 103 Elf32_Half e_phnum; member in struct:__anon34 120 Elf64_Half e_phnum; member in struct:__anon35
|
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | elfcore.h | 189 amt = sizeof (*i_phdrp) * i_ehdrp->e_phnum; 197 for (phindex = 0; phindex < i_ehdrp->e_phnum; ++phindex) 225 for (phindex = 0; phindex < i_ehdrp->e_phnum; ++phindex)
|
H A D | elfcode.h | 248 dst->e_phnum = H_GET_16 (abfd, src->e_phnum); 278 H_PUT_16 (abfd, src->e_phnum, dst->e_phnum); 626 if (i_ehdrp->e_phnum > 0) 819 if (i_ehdrp->e_phnum == 0) 826 amt = i_ehdrp->e_phnum * sizeof (Elf_Internal_Phdr); 833 for (i = 0; i < i_ehdrp->e_phnum; i++, i_phdr++) 1552 fprintf (stderr, "e_phnum = %ld\n", (long) ehdrp->e_phnum); [all...] |
/freebsd-11-stable/libexec/rtld-elf/ |
H A D | map_object.c | 50 return (hdr->e_phoff + hdr->e_phnum * sizeof(Elf_Phdr) <= 111 phsize = hdr->e_phnum * sizeof(phdr[0]); 112 phlimit = phdr + hdr->e_phnum; 121 segs = alloca(sizeof(segs[0]) * hdr->e_phnum); 276 (hdr->e_phoff + hdr->e_phnum * sizeof (Elf_Phdr))) { 334 munmap(phdr, hdr->e_phnum * sizeof(phdr[0])); 396 phdr = mmap(NULL, hdr->e_phnum * sizeof(phdr[0]),
|
/freebsd-11-stable/sys/mips/mips/ |
H A D | elf_trampoline.c | 130 eh->e_phnum * sizeof(phdr[0])); 153 for (i = 0; i < eh->e_phnum; i++) {
|
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 489 if (sehdr.e_phnum != 0) { 491 if (gelf_newphdr(dst, sehdr.e_phnum) == NULL) 494 for (i = 0; i < sehdr.e_phnum; i++) { 558 if (changing && sehdr.e_phnum != 0) { 614 if (sehdr.e_phnum != 0) 674 if (changing && sehdr.e_phnum != 0) { 693 if (sehdr.e_phnum != 0) {
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_dump.c | 314 ehdr.e_phnum = dumpsys_foreach_chunk(cb_size, &dumpsize) + 316 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; 333 ehdr.e_phnum - DUMPSYS_NUM_AUX_HDRS);
|
/freebsd-11-stable/lib/libkvm/ |
H A D | kvm_powerpc.c | 122 mapsz = be16toh(vm->eh->e_phentsize) * be16toh(vm->eh->e_phnum) + 155 nph = be16toh(vm->eh->e_phnum);
|
H A D | kvm_powerpc64.c | 122 mapsz = be16toh(vm->eh->e_phentsize) * be16toh(vm->eh->e_phnum) + 156 nph = be16toh(vm->eh->e_phnum);
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | elf_trampoline.c | 514 eh->e_phnum * sizeof(phdr[0])); 517 for (i = 0; i < eh->e_phnum; i++) { 531 for (j = 0; j < eh->e_phnum; j++) { 541 j = eh->e_phnum; 583 j = eh->e_phnum;
|
/freebsd-11-stable/lib/libprocstat/ |
H A D | core.c | 126 for (i = 0; i < ehdr.e_phnum; i++) { 134 if (i == ehdr.e_phnum) { 310 for (i = 0; i < core->pc_ehdr.e_phnum; i++) {
|
/freebsd-11-stable/sys/sys/ |
H A D | elf64.h | 75 Elf64_Half e_phnum; /* Number of program header entries. */ member in struct:__anon8483
|
H A D | elf32.h | 66 Elf32_Half e_phnum; /* Number of program header entries. */ member in struct:__anon8465
|
/freebsd-11-stable/usr.bin/elf2aout/ |
H A D | elf2aout.c | 130 phnum = xe16toh(e->e_phnum);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.h | 75 elf_word e_phnum; ///< Number of program header entries. member in struct:elf::ELFHeader
|
H A D | ELFHeader.cpp | 106 e_phnum = section_zero.sh_info; 140 // Read e_ehsize, e_phentsize, e_phnum, e_shentsize, e_shnum and e_shstrndx. 144 // Initialize e_phnum, e_shnum, and e_shstrndx with the values read from the 146 e_phnum = e_phnum_hdr;
|
/freebsd-11-stable/usr.bin/ldd/ |
H A D | ldd.c | 338 for (i = 0; i < hdr.elf32.e_phnum; i++) { 406 for (i = 0; i < hdr.elf.e_phnum; i++) {
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 153 dst->e_phnum = src->e_phnum;
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | nto-tdep.c | 248 for (i = 0; i < elf_elfheader (abfd)->e_phnum; i++, phdr++)
|