Searched refs:Elf_Phdr (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-11-stable/libexec/rtld-elf/
H A Dmap_object.c42 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 Drtld.h157 const Elf_Phdr *phdr; /* Program header if it is mapped, else NULL */
/freebsd-11-stable/lib/libc/arm/aeabi/
H A Daeabi_unwind_exidx.c68 const Elf_Phdr *hdr;
/freebsd-11-stable/sys/sys/
H A Dlink_elf.h83 const Elf_Phdr *dlpi_phdr; /* pointer to module's phdr */
/freebsd-11-stable/sys/arm/arm/
H A Ddump_machdep.c87 Elf_Phdr phdr;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp508 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 Def.c54 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 Delf_utils.c45 const Elf_Phdr *ph;
H A Ddlfcn.c184 (const Elf_Phdr *)auxp->a_un.a_ptr;
H A Dtls.c428 Elf_Phdr *phdr;
454 if (phdr == NULL || phent != sizeof(Elf_Phdr) || phnum == 0)
/freebsd-11-stable/usr.bin/gcore/
H A Delfcore.c71 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 Dlinux_vdso.c146 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 Dsanitizer_linux_libcdep.cpp411 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 Dsanitizer_platform_limits_openbsd.cpp119 unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
/freebsd-11-stable/contrib/llvm-project/libunwind/src/
H A DAddressSpace.hpp509 #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 Dcfi.cpp26 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 Dimgact_elf.c409 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 Dkern_dump.c239 Elf_Phdr phdr;
307 ehdr.e_phentsize = sizeof(Elf_Phdr);
H A Dlink_elf.c780 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 DELF.h80 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 Dksyms.c99 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 Dbootstrap.h325 void (*arch_loadseg)(Elf_Ehdr *eh, Elf_Phdr *ph, uint64_t delta);
H A Dload_elf.c55 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 DELFEmitter.cpp106 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 Dldd.c292 Elf_Phdr phdr, dynphdr;

Completed in 237 milliseconds

12