| /NextBSD/libexec/rtld-elf/ |
| HD | map_object.c | 59 Elf_Phdr *phdr; in map_object() 60 Elf_Phdr *phlimit; in map_object() 61 Elf_Phdr **segs; in map_object() 63 Elf_Phdr *phdyn; in map_object() 64 Elf_Phdr *phinterp; in map_object() 65 Elf_Phdr *phtls; in map_object() 103 phdr = (Elf_Phdr *) ((char *)hdr + hdr->e_phoff); in map_object() 265 (hdr->e_phoff + hdr->e_phnum * sizeof (Elf_Phdr))) { in map_object() 285 obj->phdr = (const Elf_Phdr *) (obj->relocbase + phdr_vaddr); in map_object() 367 if (hdr->e_phentsize != sizeof(Elf_Phdr)) { in get_elf_header() [all …]
|
| HD | rtld.h | 156 const Elf_Phdr *phdr; /* Program header if it is mapped, else NULL */
|
| HD | rtld.c | 77 static Obj_Entry *digest_phdr(const Elf_Phdr *, int, caddr_t, const char *); 506 const Elf_Phdr *phdr; in _rtld() 512 phdr = (const Elf_Phdr *) aux_info[AT_PHDR]->a_un.a_ptr; in _rtld() 516 assert(aux_info[AT_PHENT]->a_un.a_val == sizeof(Elf_Phdr)); in _rtld() 1292 digest_phdr(const Elf_Phdr *phdr, int phnum, caddr_t entry, const char *path) in digest_phdr() 1295 const Elf_Phdr *phlimit = phdr + phnum; in digest_phdr() 1296 const Elf_Phdr *ph; in digest_phdr()
|
| /NextBSD/usr.sbin/kldxref/ |
| HD | ef.c | 54 Elf_Phdr * ef_ph; 72 Elf_Phdr * ef_segs[MAXSEGS]; 80 static void ef_print_phdr(Elf_Phdr *); 115 ef_print_phdr(Elf_Phdr *phdr) in ef_print_phdr() 131 Elf_Phdr *ph; in ef_get_offset() 535 Elf_Phdr *phdr, *phdyn, *phlimit; in ef_open() 569 hdr->e_phentsize != sizeof(Elf_Phdr)) in ef_open() 571 phlen = hdr->e_phnum * sizeof(Elf_Phdr); in ef_open()
|
| /NextBSD/usr.bin/gcore/ |
| HD | elfcore.c | 68 Elf_Phdr *phdr; /* Program header to fill in */ 179 Elf_Phdr *php; in elf_coredump() 205 hdrsize = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * (1 + seginfo.count); in elf_coredump() 230 php = (Elf_Phdr *)((char *)hdr + sizeof(Elf_Ehdr)) + 1; in elf_coredump() 275 Elf_Phdr *phdr = phc->phdr; in cb_put_phdr() 415 Elf_Phdr *phdr; in elf_puthdr() 419 phdr = (Elf_Phdr *)((char *)hdr + sizeof(Elf_Ehdr)); in elf_puthdr() 438 ehdr->e_phentsize = sizeof(Elf_Phdr); in elf_puthdr()
|
| /NextBSD/sys/kern/ |
| HD | imgact_elf.c | 353 hdr->e_phentsize != sizeof(Elf_Phdr) || in __elfN() 612 const Elf_Phdr *phdr = NULL; in __elfN() 691 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __elfN() 736 const Elf_Phdr *phdr; in __CONCAT() 772 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __CONCAT() 1113 Elf_Phdr *phdr; /* Program header to fill in */ 1308 hdrsize = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * (1 + seginfo.count); in __elfN() 1363 Elf_Phdr *php; in __elfN() 1367 php = (Elf_Phdr *)((char *)hdr + sizeof(Elf_Ehdr)) + 1; in __elfN() 1416 Elf_Phdr *phdr = phc->phdr; [all …]
|
| HD | link_elf.c | 763 Elf_Phdr *phdr; in link_elf_load_file() 764 Elf_Phdr *phlimit; in link_elf_load_file() 765 Elf_Phdr *segs[MAXSEGS]; in link_elf_load_file() 767 Elf_Phdr *phdyn; in link_elf_load_file() 768 Elf_Phdr *phphdr; in link_elf_load_file() 855 if (!((hdr->e_phentsize == sizeof(Elf_Phdr)) && in link_elf_load_file() 856 (hdr->e_phoff + hdr->e_phnum*sizeof(Elf_Phdr) <= PAGE_SIZE) && in link_elf_load_file() 857 (hdr->e_phoff + hdr->e_phnum*sizeof(Elf_Phdr) <= nbytes))) in link_elf_load_file() 866 phdr = (Elf_Phdr *) (firstpage + hdr->e_phoff); in link_elf_load_file()
|
| HD | kern_dump.c | 247 Elf_Phdr phdr; in cb_dumphdr() 315 ehdr.e_phentsize = sizeof(Elf_Phdr); in dumpsys_generic()
|
| /NextBSD/sys/compat/linux/ |
| HD | linux_vdso.c | 146 Elf_Phdr *phdr; in __elfN() 157 phdr = (Elf_Phdr *)((caddr_t)ehdr + ehdr->e_phoff); in __elfN()
|
| /NextBSD/contrib/compiler-rt/lib/sanitizer_common/ |
| HD | sanitizer_linux_libcdep.cc | 405 typedef ElfW(Phdr) Elf_Phdr; typedef 407 # define Elf_Phdr XElf32_Phdr macro 440 const Elf_Phdr *phdr = &info->dlpi_phdr[i]; in dl_iterate_phdr_cb()
|
| HD | sanitizer_linux.cc | 752 typedef ElfW(Phdr) Elf_Phdr; in ForEachMappedRegion() typedef 765 Elf_Phdr *phdr = (Elf_Phdr *)iter; in ForEachMappedRegion() 774 Elf_Phdr *phdr = (Elf_Phdr *)iter; in ForEachMappedRegion()
|
| /NextBSD/lib/libc/gen/ |
| HD | tls.c | 278 Elf_Phdr *phdr; in _init_tls() 304 if (phdr == 0 || phent != sizeof(Elf_Phdr) || phnum == 0) in _init_tls()
|
| HD | elf_utils.c | 42 const Elf_Phdr *ph; in __elf_phdr_match_addr()
|
| HD | dlfcn.c | 168 (const Elf_Phdr *)auxp->a_un.a_ptr; in dl_init_phdr_info()
|
| /NextBSD/lib/libc/arm/aeabi/ |
| HD | aeabi_unwind_exidx.c | 68 const Elf_Phdr *hdr; in dl_unwind_find_exidx()
|
| /NextBSD/sys/sys/ |
| HD | link_elf.h | 83 const Elf_Phdr *dlpi_phdr; /* pointer to module's phdr */
|
| /NextBSD/sys/arm/arm/ |
| HD | dump_machdep.c | 87 Elf_Phdr phdr; in dumpsys_write_aux_headers()
|
| /NextBSD/contrib/llvm/projects/libunwind/src/ |
| HD | AddressSpace.hpp | 406 #if !defined(Elf_Phdr) in findUnwindSections() 407 typedef ElfW(Phdr) Elf_Phdr; in findUnwindSections() 411 const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i]; in findUnwindSections()
|
| /NextBSD/sys/dev/ksyms/ |
| HD | ksyms.c | 104 Elf_Phdr kh_txtphdr; 105 Elf_Phdr kh_datphdr; 271 hdr->kh_ehdr.e_phentsize = sizeof(Elf_Phdr); in ksyms_snapshot()
|
| /NextBSD/sys/boot/common/ |
| HD | bootstrap.h | 321 void (*arch_loadseg)(Elf_Ehdr *eh, Elf_Phdr *ph, uint64_t delta);
|
| HD | load_elf.c | 54 Elf_Phdr *ph; 301 Elf_Phdr *phdr, *php; in __elfN() 386 phdr = (Elf_Phdr *)(ef->firstpage + ehdr->e_phoff); in __elfN()
|
| /NextBSD/usr.bin/ldd/ |
| HD | ldd.c | 362 Elf_Phdr phdr; in is_executable()
|
| /NextBSD/contrib/llvm/include/llvm/Object/ |
| HD | ELF.h | 135 typedef Elf_Phdr_Impl<ELFT> Elf_Phdr; typedef 352 typedef ELFEntityIterator<const Elf_Phdr> Elf_Phdr_Iter;
|