Searched refs:e_phoff (Results 1 - 25 of 47) sorted by relevance

12

/freebsd-13-stable/contrib/file/src/
H A Delfclass.h44 CAST(off_t, elf_getu(swap, elfhdr.e_phoff)), phnum,
59 CAST(off_t, elf_getu(swap, elfhdr.e_phoff)), phnum,
H A Dreadelf.h98 Elf32_Off e_phoff; member in struct:__anon753
115 Elf64_Off e_phoff; member in struct:__anon754
/freebsd-13-stable/contrib/elftoolchain/libelf/
H A Dgelf_ehdr.c73 d->e_phoff = eh32->e_phoff;
156 LIBELF_COPY_U32(eh32, s, e_phoff);
H A Dlibelf_phdr.c70 phoff = (uint64_t) eh32->e_phoff;
73 phoff = (uint64_t) eh64->e_phoff;
H A Delf_update.c539 phoff = (off_t) eh32->e_phoff;
545 phoff = (off_t) eh64->e_phoff;
698 * Update the `e_phoff' and `e_shoff' fields if the library is
703 eh32->e_phoff = (uint32_t) phoff;
706 eh64->e_phoff = (uint64_t) phoff;
914 phoff = (uint64_t) eh32->e_phoff;
917 phoff = eh64->e_phoff;
/freebsd-13-stable/libexec/rtld-elf/
H A Dmap_object.c52 return (hdr->e_phoff + hdr->e_phnum * sizeof(Elf_Phdr) <=
283 if (phdr_vaddr == 0 && data_offset <= hdr->e_phoff &&
285 (hdr->e_phoff + hdr->e_phnum * sizeof (Elf_Phdr))) {
286 phdr_vaddr = data_vaddr + hdr->e_phoff - data_offset;
311 memcpy(__DECONST(char *, obj->phdr), (char *)hdr + hdr->e_phoff, phsize);
402 phdr = (Elf_Phdr *)((char *)hdr + hdr->e_phoff);
406 hdr->e_phoff);
/freebsd-13-stable/lib/libkvm/
H A Dkvm_powerpc.c125 be32toh(vm->eh->e_phoff);
136 vm->ph = (void *)((uintptr_t)vm->eh + be32toh(vm->eh->e_phoff));
H A Dkvm_powerpc64.c127 _kvm16toh(kd, vm->eh->e_phnum) + _kvm64toh(kd, vm->eh->e_phoff);
139 (uintptr_t)_kvm64toh(kd, vm->eh->e_phoff));
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h59 elf_off e_phoff; ///< File offset of program header table. member in struct:elf::ELFHeader
/freebsd-13-stable/sys/mips/mips/
H A Delf_trampoline.c130 memcpy(phdr, (void *)(kstart + eh->e_phoff),
/freebsd-13-stable/sys/sys/
H A Delf32.h63 Elf32_Off e_phoff; /* Program header file offset. */ member in struct:__anon15799
H A Delf64.h72 Elf64_Off e_phoff; /* Program header file offset. */ member in struct:__anon15817
/freebsd-13-stable/sys/kern/
H A Dkern_dump.c313 ehdr.e_phoff = sizeof(ehdr);
325 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize;
H A Dimgact_elf.c459 return (hdr->e_phoff <= PAGE_SIZE &&
460 (u_int)hdr->e_phentsize * hdr->e_phnum <= PAGE_SIZE - hdr->e_phoff);
831 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff);
1106 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff);
1140 hdr->e_phoff + hdr->e_phnum * hdr->e_phentsize
1142 proghdr = phdr[i].p_vaddr + hdr->e_phoff;
1991 ehdr->e_phoff = sizeof(Elf_Ehdr);
2004 ehdr->e_shoff = ehdr->e_phoff +
2031 phdr = (Elf_Phdr *)((char *)hdr + ehdr->e_phoff);
2772 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff);
[all...]
H A Dlink_elf.c780 phdr = (Elf_Phdr *)(ef->address + hdr->e_phoff);
1040 (hdr->e_phoff + hdr->e_phnum*sizeof(Elf_Phdr) <= PAGE_SIZE) &&
1041 (hdr->e_phoff + hdr->e_phnum*sizeof(Elf_Phdr) <= nbytes)))
1050 phdr = (Elf_Phdr *) (firstpage + hdr->e_phoff);
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c149 dst->e_phoff = (Elf64_Off)src->e_phoff;
/freebsd-13-stable/sys/compat/linux/
H A Dlinux_vdso.c161 phdr = (Elf_Phdr *)((caddr_t)ehdr + ehdr->e_phoff);
/freebsd-13-stable/usr.bin/gcore/
H A Delfcore.c480 ehdr->e_phoff = sizeof(Elf_Ehdr);
493 ehdr->e_shoff = ehdr->e_phoff +
517 phdr = (Elf_Phdr *)((char *)hdr + ehdr->e_phoff);
/freebsd-13-stable/stand/common/
H A Dload_elf.c151 CONVERT_FIELD(b, e_phoff, e); \
567 if ((ehdr->e_phoff + ehdr->e_phnum * sizeof(*phdr)) > ef->firstlen) {
572 phdr = (Elf_Phdr *)(ef->firstpage + ehdr->e_phoff);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan.cpp257 __ehdr_start.e_phoff),
H A Dhwasan_report.cpp260 reinterpret_cast<const u8 *>(ehdr) + ehdr->e_phoff);
/freebsd-13-stable/stand/i386/isoboot/
H A Disoboot.c383 fs_off = hdr.eh.e_phoff;
/freebsd-13-stable/stand/mips/beri/boot2/
H A Dboot2.c345 fs_off = hdr.eh.e_phoff;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h66 Elf32_Off e_phoff; // Program header table's file offset, in bytes member in struct:llvm::ELF::Elf32_Ehdr
92 Elf64_Off e_phoff; member in struct:llvm::ELF::Elf64_Ehdr
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h211 uint64_t PhOff = getHeader()->e_phoff;
214 Twine(getBufSize()) + ": e_phoff = 0x" +
215 Twine::utohexstr(getHeader()->e_phoff) +

Completed in 584 milliseconds

12