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

12

/openbsd-current/include/
H A Dlink_elf.h32 const Elf_Phdr *dlpi_phdr;
/openbsd-current/libexec/ld.so/ldd/
H A Dldd.c101 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 Dboot.h89 Elf_Phdr *phdp;
153 phdp = (Elf_Phdr *)dl_data[AUX_phdr];
/openbsd-current/lib/libc/arch/arm/dlfcn/
H A Dexidx.c38 const Elf_Phdr *phdr;
/openbsd-current/libexec/ld.so/
H A Dlibrary.c112 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 Dresolve.h167 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 Dlibrary_mquery.c110 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 Dloader.c451 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 Dtib.c138 _dl_set_tls(elf_object_t *object, Elf_Phdr *ptls, Elf_Addr libaddr,
/openbsd-current/usr.sbin/config/
H A Dexec_elf.c45 Elf_Phdr *elf_phdr;
121 elf_phdr = (Elf_Phdr *)&elf_total[elf_ex.e_phoff];
/openbsd-current/lib/csu/hppa/
H A Dboot_md.h79 Elf_Phdr *phdp;
168 phdp = (Elf_Phdr *)dl_data[AUX_phdr];
/openbsd-current/lib/csu/mips64/
H A Dboot_md.h98 Elf_Phdr *phdp;
174 phdp = (Elf_Phdr *)dl_data[AUX_phdr];
/openbsd-current/gnu/llvm/llvm/tools/llvm-readobj/
H A DDwarfCFIEHPrinter.h33 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 Dkexec.c92 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 Dinit.c65 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 Dexec_elf.c98 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 DELF.cpp550 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 Delf_hide.c75 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 Dloadfile_elf.c76 Elf_Phdr *phdr;
85 sz = elf->e_phnum * sizeof(Elf_Phdr);
/openbsd-current/gnu/llvm/libunwind/src/
H A DAddressSpace.hpp430 #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 Doctboot.c94 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 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];
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp461 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 DELF.h284 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 Delf64_exec.c95 Elf_Phdr phdr;

Completed in 183 milliseconds

12