/openbsd-current/include/ |
H A D | link_elf.h | 32 const Elf_Phdr *dlpi_phdr;
|
/openbsd-current/libexec/ld.so/ldd/ |
H A D | ldd.c | 101 Elf_Phdr *phdr; 143 if ((phdr = reallocarray(NULL, ehdr.e_phnum, sizeof(Elf_Phdr))) == NULL) 145 size = ehdr.e_phnum * sizeof(Elf_Phdr);
|
/openbsd-current/lib/csu/ |
H A D | boot.h | 89 Elf_Phdr *phdp; 153 phdp = (Elf_Phdr *)dl_data[AUX_phdr];
|
/openbsd-current/lib/libc/arch/arm/dlfcn/ |
H A D | exidx.c | 38 const Elf_Phdr *phdr;
|
/openbsd-current/libexec/ld.so/ |
H A D | library.c | 112 Elf_Phdr *phdp, *ptls = NULL; 113 Elf_Phdr *syscall_phdp = NULL; 161 phdp = (Elf_Phdr *)(hbuf + ehdr->e_phoff); 224 phdp = (Elf_Phdr *)(hbuf + ehdr->e_phoff); 335 (Elf_Phdr *)((char *)libaddr + ehdr->e_phoff), ehdr->e_phnum,type,
|
H A D | resolve.h | 167 Elf_Phdr *phdrp; 268 Elf_Phdr *phdrp, int phdrc, const int objtype, const long lbase, 343 void _dl_pin(int, Elf_Phdr *, void *, size_t, void *, size_t); 358 void _dl_set_tls(elf_object_t *_object, Elf_Phdr *_ptls, Elf_Addr _libaddr,
|
H A D | library_mquery.c | 110 Elf_Phdr *phdp, *ptls = NULL; 111 Elf_Phdr *syscall_phdp = NULL; 171 phdp = (Elf_Phdr *)(hbuf + ehdr->e_phoff); 312 phdp = (Elf_Phdr *)(hbuf + ehdr->e_phoff); 343 (Elf_Phdr *)((char *)lowld->start + ehdr->e_phoff), ehdr->e_phnum,
|
H A D | loader.c | 451 Elf_Phdr *phdp; 455 phdp = (Elf_Phdr *)(loff + ehdp->e_phoff); 520 Elf_Phdr *phdp; 528 Elf_Phdr *ptls = NULL; 570 phdp = (Elf_Phdr *)dl_data[AUX_phdr]; 583 (Elf_Phdr *)dl_data[AUX_phdr], 660 (Elf_Phdr *)((char *)dl_data[AUX_base] + ehdr->e_phoff),
|
H A D | tib.c | 138 _dl_set_tls(elf_object_t *object, Elf_Phdr *ptls, Elf_Addr libaddr,
|
/openbsd-current/usr.sbin/config/ |
H A D | exec_elf.c | 45 Elf_Phdr *elf_phdr; 121 elf_phdr = (Elf_Phdr *)&elf_total[elf_ex.e_phoff];
|
/openbsd-current/lib/csu/hppa/ |
H A D | boot_md.h | 79 Elf_Phdr *phdp; 168 phdp = (Elf_Phdr *)dl_data[AUX_phdr];
|
/openbsd-current/lib/csu/mips64/ |
H A D | boot_md.h | 98 Elf_Phdr *phdp; 174 phdp = (Elf_Phdr *)dl_data[AUX_phdr];
|
/openbsd-current/gnu/llvm/llvm/tools/llvm-readobj/ |
H A D | DwarfCFIEHPrinter.h | 33 using Elf_Phdr = typename ELFT::Phdr; 38 void printEHFrameHdr(const Elf_Phdr *EHFramePHdr) const; 70 for (const Elf_Phdr &Phdr : *PhdrsOrErr) { 96 void PrinterContext<ELFT>::printEHFrameHdr(const Elf_Phdr *EHFramePHdr) const {
|
/openbsd-current/sys/arch/powerpc64/dev/ |
H A D | kexec.c | 92 Elf_Phdr *ph = NULL; 113 ph = mallocarray(eh.e_phnum, sizeof(Elf_Phdr), M_TEMP, M_NOWAIT); 118 phsize = eh.e_phnum * sizeof(Elf_Phdr);
|
/openbsd-current/lib/libc/dlfcn/ |
H A D | init.c | 65 static inline void setup_static_tib(Elf_Phdr *_phdr, int _phnum); 83 Elf_Phdr *phdr = NULL; 246 setup_static_tib(Elf_Phdr *phdr, int phnum)
|
/openbsd-current/sys/kern/ |
H A D | exec_elf.c | 98 Elf_Phdr *, Elf_Addr *, Elf_Addr *, int *, int); 101 int elf_read_pintable(struct proc *p, struct vnode *vp, Elf_Phdr *pp, 161 Elf_Phdr *ph, Elf_Addr *addr, Elf_Addr *size, int *prot, int flags) 290 elf_read_pintable(struct proc *p, struct vnode *vp, Elf_Phdr *pp, 350 Elf_Phdr *ph = NULL, *syscall_ph = NULL; 354 Elf_Phdr *base_ph = NULL; 393 ph = mallocarray(eh.e_phnum, sizeof(Elf_Phdr), M_TEMP, M_WAITOK); 394 phsize = eh.e_phnum * sizeof(Elf_Phdr); 599 Elf_Phdr *ph, *pp, *base_ph = NULL, *syscall_ph = NULL; 628 ph = mallocarray(eh->e_phnum, sizeof(Elf_Phdr), M_TEM [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Object/ |
H A D | ELF.cpp | 550 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) { 596 llvm::SmallVector<Elf_Phdr *, 4> LoadSegments; 598 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) 600 LoadSegments.push_back(const_cast<Elf_Phdr *>(&Phdr)); 613 const Elf_Phdr *const *I = llvm::upper_bound( 622 const Elf_Phdr &Phdr = **I;
|
/openbsd-current/usr.sbin/crunchgen/ |
H A D | elf_hide.c | 75 Elf_Phdr *pphdr; 102 pshdr = (Elf_Phdr *) (pexe + pehdr->e_shoff + 123 pshdr = (Elf_Phdr *) (pexe + pehdr->e_phoff + 139 pshdr = (Elf_Phdr *) (pexe + pehdr->e_shoff +
|
/openbsd-current/sys/lib/libsa/ |
H A D | loadfile_elf.c | 76 Elf_Phdr *phdr; 85 sz = elf->e_phnum * sizeof(Elf_Phdr);
|
/openbsd-current/gnu/llvm/libunwind/src/ |
H A D | AddressSpace.hpp | 430 #if !defined(Elf_Phdr) 431 typedef ElfW(Phdr) Elf_Phdr; typedef in namespace:libunwind 451 static bool checkAddrInSegment(const Elf_Phdr *phdr, size_t image_base, 465 static bool checkForUnwindInfoSegment(const Elf_Phdr *phdr, size_t image_base, 529 const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i - 1];
|
/openbsd-current/sys/arch/octeon/dev/ |
H A D | octboot.c | 94 Elf_Phdr *ph = NULL; 133 ph = mallocarray(eh.e_phnum, sizeof(Elf_Phdr), M_TEMP, M_NOWAIT); 138 phsize = eh.e_phnum * sizeof(Elf_Phdr);
|
/openbsd-current/gnu/llvm/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];
|
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux_libcdep.cpp | 461 const Elf_Phdr *hdr = info->dlpi_phdr; 462 const Elf_Phdr *last_hdr = hdr + info->dlpi_phnum; 630 typedef ElfW(Phdr) Elf_Phdr; typedef in namespace:__sanitizer 632 #define Elf_Phdr XElf32_Phdr macro 649 const Elf_Phdr *phdr = &info->dlpi_phdr[i];
|
/openbsd-current/gnu/llvm/llvm/include/llvm/Object/ |
H A D | ELF.h | 284 if (getHeader().e_phnum && getHeader().e_phentsize != sizeof(Elf_Phdr)) 298 auto *Begin = reinterpret_cast<const Elf_Phdr *>(base() + PhOff); 309 Elf_Note_Iterator notes_begin(const Elf_Phdr &Phdr, Error &Err) const { 352 iterator_range<Elf_Note_Iterator> notes(const Elf_Phdr &Phdr, 393 Expected<ArrayRef<uint8_t>> getSegmentContents(const Elf_Phdr &Phdr) const; 524 ELFFile<ELFT>::getSegmentContents(const Elf_Phdr &Phdr) const {
|
/openbsd-current/sys/arch/sparc64/stand/ofwboot/ |
H A D | elf64_exec.c | 95 Elf_Phdr phdr;
|