/freebsd-11-stable/libexec/rtld-elf/ |
H A D | map_object.c | 42 Elf_Phdr **phdr); 50 return (hdr->e_phoff + hdr->e_phnum * sizeof(Elf_Phdr) <= 68 Elf_Phdr *phdr; 69 Elf_Phdr *phlimit; 70 Elf_Phdr **segs; 72 Elf_Phdr *phdyn; 73 Elf_Phdr *phinterp; 74 Elf_Phdr *phtls; 276 (hdr->e_phoff + hdr->e_phnum * sizeof (Elf_Phdr))) { 296 obj->phdr = (const Elf_Phdr *) (ob [all...] |
H A D | rtld.h | 157 const Elf_Phdr *phdr; /* Program header if it is mapped, else NULL */
|
/freebsd-11-stable/lib/libc/arm/aeabi/ |
H A D | aeabi_unwind_exidx.c | 68 const Elf_Phdr *hdr;
|
/freebsd-11-stable/sys/sys/ |
H A D | link_elf.h | 83 const Elf_Phdr *dlpi_phdr; /* pointer to module's phdr */
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | dump_machdep.c | 87 Elf_Phdr phdr;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | ELF.cpp | 508 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) { 562 llvm::SmallVector<Elf_Phdr *, 4> LoadSegments; 564 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) 566 LoadSegments.push_back(const_cast<Elf_Phdr *>(&Phdr)); 568 const Elf_Phdr *const *I = 578 const Elf_Phdr &Phdr = **I;
|
/freebsd-11-stable/usr.sbin/kldxref/ |
H A D | ef.c | 54 Elf_Phdr * ef_ph; 72 Elf_Phdr * ef_segs[MAXSEGS]; 80 static void ef_print_phdr(Elf_Phdr *); 118 ef_print_phdr(Elf_Phdr *phdr) 134 Elf_Phdr *ph; 560 Elf_Phdr *phdr, *phdyn, *phlimit; 594 hdr->e_phentsize != sizeof(Elf_Phdr)) 596 phlen = hdr->e_phnum * sizeof(Elf_Phdr);
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | elf_utils.c | 45 const Elf_Phdr *ph;
|
H A D | dlfcn.c | 184 (const Elf_Phdr *)auxp->a_un.a_ptr;
|
H A D | tls.c | 428 Elf_Phdr *phdr; 454 if (phdr == NULL || phent != sizeof(Elf_Phdr) || phnum == 0)
|
/freebsd-11-stable/usr.bin/gcore/ |
H A D | elfcore.c | 71 Elf_Phdr *phdr; /* Program header to fill in */ 201 Elf_Phdr *php; 227 hdrsize = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * (1 + seginfo.count); 252 php = (Elf_Phdr *)((char *)hdr + sizeof(Elf_Ehdr)) + 1; 297 Elf_Phdr *phdr = phc->phdr; 441 Elf_Phdr *phdr; 452 phdr = (Elf_Phdr *)((char *)hdr + sizeof(Elf_Ehdr)); 471 ehdr->e_phentsize = sizeof(Elf_Phdr);
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_vdso.c | 146 Elf_Phdr *phdr; 157 phdr = (Elf_Phdr *)((caddr_t)ehdr + ehdr->e_phoff);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux_libcdep.cpp | 411 const Elf_Phdr *hdr = info->dlpi_phdr; 412 const Elf_Phdr *last_hdr = hdr + info->dlpi_phnum; 524 typedef ElfW(Phdr) Elf_Phdr; typedef in namespace:__sanitizer 526 #define Elf_Phdr XElf32_Phdr macro 551 const Elf_Phdr *phdr = &info->dlpi_phdr[i];
|
H A D | sanitizer_platform_limits_openbsd.cpp | 119 unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
|
/freebsd-11-stable/contrib/llvm-project/libunwind/src/ |
H A D | AddressSpace.hpp | 509 #if !defined(Elf_Phdr) 510 typedef ElfW(Phdr) Elf_Phdr; 526 const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i]; 543 const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i]; 573 const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i];
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/cfi/ |
H A D | cfi.cpp | 26 typedef ElfW(Phdr) Elf_Phdr; typedef 241 const Elf_Phdr *phdr = &info->dlpi_phdr[phdr_idx]; 282 const Elf_Phdr *phdr = &info->dlpi_phdr[i];
|
/freebsd-11-stable/sys/kern/ |
H A D | imgact_elf.c | 409 hdr->e_phentsize != sizeof(Elf_Phdr) || 664 const Elf_Phdr *phdr = NULL; 743 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); 788 const Elf_Phdr *phdr; 822 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); 1176 Elf_Phdr *phdr; /* Program header to fill in */ 1399 hdrsize = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * (1 + seginfo.count); 1450 Elf_Phdr *php; 1454 php = (Elf_Phdr *)((char *)hdr + sizeof(Elf_Ehdr)) + 1; 1503 Elf_Phdr *phd [all...] |
H A D | kern_dump.c | 239 Elf_Phdr phdr; 307 ehdr.e_phentsize = sizeof(Elf_Phdr);
|
H A D | link_elf.c | 780 Elf_Phdr *phdr; 781 Elf_Phdr *phlimit; 782 Elf_Phdr *segs[MAXSEGS]; 784 Elf_Phdr *phdyn; 785 Elf_Phdr *phphdr; 872 if (!((hdr->e_phentsize == sizeof(Elf_Phdr)) && 873 (hdr->e_phoff + hdr->e_phnum*sizeof(Elf_Phdr) <= PAGE_SIZE) && 874 (hdr->e_phoff + hdr->e_phnum*sizeof(Elf_Phdr) <= nbytes))) 883 phdr = (Elf_Phdr *) (firstpage + hdr->e_phoff);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELF.h | 80 using Elf_Phdr = typename ELFT::Phdr; 194 if (getHeader()->e_phnum && getHeader()->e_phentsize != sizeof(Elf_Phdr)) 206 reinterpret_cast<const Elf_Phdr *>(base() + getHeader()->e_phoff); 217 Elf_Note_Iterator notes_begin(const Elf_Phdr &Phdr, Error &Err) const { 261 iterator_range<Elf_Note_Iterator> notes(const Elf_Phdr &Phdr,
|
/freebsd-11-stable/sys/dev/ksyms/ |
H A D | ksyms.c | 99 Elf_Phdr kh_txtphdr; 100 Elf_Phdr kh_datphdr; 286 hdr->kh_ehdr.e_phentsize = sizeof(Elf_Phdr);
|
/freebsd-11-stable/stand/common/ |
H A D | bootstrap.h | 325 void (*arch_loadseg)(Elf_Ehdr *eh, Elf_Phdr *ph, uint64_t delta);
|
H A D | load_elf.c | 55 Elf_Phdr *ph; 156 static int elf_program_header_convert(const Elf_Ehdr *ehdr, Elf_Phdr *phdr) 427 Elf_Phdr *phdr, *php; 523 phdr = (Elf_Phdr *)(ef->firstpage + ehdr->e_phoff);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | ELFEmitter.cpp | 106 typedef typename ELFT::Phdr Elf_Phdr; typedef in class:__anon1952::ELFState 142 void initProgramHeaders(std::vector<Elf_Phdr> &PHeaders); 154 void setProgramHeaderLayout(std::vector<Elf_Phdr> &PHeaders, 293 Header.e_phentsize = Doc.ProgramHeaders.size() ? sizeof(Elf_Phdr) : 0; 313 void ELFState<ELFT>::initProgramHeaders(std::vector<Elf_Phdr> &PHeaders) { 315 Elf_Phdr Phdr; 718 void ELFState<ELFT>::setProgramHeaderLayout(std::vector<Elf_Phdr> &PHeaders, 722 Elf_Phdr &PHeader = PHeaders[PhdrIdx++]; 1419 std::vector<Elf_Phdr> PHeaders; 1425 sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * Do [all...] |
/freebsd-11-stable/usr.bin/ldd/ |
H A D | ldd.c | 292 Elf_Phdr phdr, dynphdr;
|