/freebsd-13-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-13-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:__anon753 120 Elf64_Half e_phnum; member in struct:__anon754
|
/freebsd-13-stable/libexec/rtld-elf/ |
H A D | map_object.c | 52 return (hdr->e_phoff + hdr->e_phnum * sizeof(Elf_Phdr) <= 114 phsize = hdr->e_phnum * sizeof(phdr[0]); 115 phlimit = phdr + hdr->e_phnum; 125 segs = alloca(sizeof(segs[0]) * hdr->e_phnum); 285 (hdr->e_phoff + hdr->e_phnum * sizeof (Elf_Phdr))) { 342 munmap(phdr, hdr->e_phnum * sizeof(phdr[0])); 404 phdr = mmap(NULL, hdr->e_phnum * sizeof(phdr[0]),
|
/freebsd-13-stable/sys/mips/mips/ |
H A D | elf_trampoline.c | 131 eh->e_phnum * sizeof(phdr[0])); 154 for (i = 0; i < eh->e_phnum; i++) {
|
/freebsd-13-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-13-stable/sys/kern/ |
H A D | kern_dump.c | 323 ehdr.e_phnum = dumpsys_foreach_chunk(cb_size, &dumpsize) + 325 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; 338 ehdr.e_phnum - DUMPSYS_NUM_AUX_HDRS);
|
H A D | imgact_elf.c | 460 (u_int)hdr->e_phentsize * hdr->e_phnum <= PAGE_SIZE - hdr->e_phoff); 714 for (i = 0; i < hdr->e_phnum; i++) { 895 for (i = 0; i < hdr->e_phnum; i++) { 1123 for (i = 0; i < hdr->e_phnum; i++) { 1140 hdr->e_phoff + hdr->e_phnum * hdr->e_phentsize 1327 elf_auxargs->phnum = hdr->e_phnum; 1998 ehdr->e_phnum = numsegs + 1; 2001 ehdr->e_phnum = PN_XNUM; 2778 for (i = 0; i < hdr->e_phnum; i++) { 2782 for (j = 0; j < hdr->e_phnum; [all...] |
/freebsd-13-stable/lib/libkvm/ |
H A D | kvm_powerpc.c | 124 mapsz = be16toh(vm->eh->e_phentsize) * be16toh(vm->eh->e_phnum) + 157 nph = be16toh(vm->eh->e_phnum);
|
H A D | kvm_powerpc64.c | 127 _kvm16toh(kd, vm->eh->e_phnum) + _kvm64toh(kd, vm->eh->e_phoff); 160 nph = _kvm16toh(kd, vm->eh->e_phnum);
|
/freebsd-13-stable/usr.bin/elfctl/ |
H A D | elfctl.c | 179 if (!print_file_features(elf, ehdr.e_phnum, fd, 184 } else if (!edit_file_features(elf, ehdr.e_phnum, fd,
|
/freebsd-13-stable/lib/libprocstat/ |
H A D | core.c | 128 for (i = 0; i < ehdr.e_phnum; i++) { 136 if (i == ehdr.e_phnum) { 312 for (i = 0; i < core->pc_ehdr.e_phnum; i++) {
|
/freebsd-13-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-13-stable/sys/sys/ |
H A D | elf32.h | 68 Elf32_Half e_phnum; /* Number of program header entries. */ member in struct:__anon15799
|
H A D | elf64.h | 77 Elf64_Half e_phnum; /* Number of program header entries. */ member in struct:__anon15817
|
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 154 dst->e_phnum = src->e_phnum;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELF.h | 205 if (getHeader()->e_phnum && getHeader()->e_phentsize != sizeof(Elf_Phdr)) 210 (uint64_t)getHeader()->e_phnum * getHeader()->e_phentsize; 216 ", e_phnum = " + Twine(getHeader()->e_phnum) + 220 return makeArrayRef(Begin, Begin + getHeader()->e_phnum);
|
/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_vdso.c | 164 for (i = 0; i < ehdr->e_phnum; i++) {
|
/freebsd-13-stable/stand/common/ |
H A D | load_elf.c | 156 CONVERT_FIELD(b, e_phnum, e); \ 567 if ((ehdr->e_phoff + ehdr->e_phnum * sizeof(*phdr)) > ef->firstlen) { 574 for (i = 0; i < ehdr->e_phnum; i++) { 696 for (j = 0; j < ehdr->e_phnum; j++) { 811 for (i = 0; i < ehdr->e_phnum; i++) {
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_report.cpp | 268 ArrayRef<const ElfW(Phdr)>(phdr_begin, phdr_begin + ehdr->e_phnum)) { 279 HwasanGlobalsFor(load_bias, phdr_begin, ehdr->e_phnum))
|
/freebsd-13-stable/usr.sbin/kldxref/ |
H A D | ef.c | 606 phlen = hdr->e_phnum * sizeof(Elf_Phdr); 611 phlimit = phdr + hdr->e_phnum;
|
/freebsd-13-stable/usr.bin/ldd/ |
H A D | ldd.c | 433 for (i = 0; i < ehdr.e_phnum; i++) {
|