/freebsd-13-stable/contrib/file/src/ |
H A D | elfclass.h | 44 CAST(off_t, elf_getu(swap, elfhdr.e_phoff)), phnum, 59 CAST(off_t, elf_getu(swap, elfhdr.e_phoff)), phnum,
|
H A D | readelf.h | 98 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 D | gelf_ehdr.c | 73 d->e_phoff = eh32->e_phoff; 156 LIBELF_COPY_U32(eh32, s, e_phoff);
|
H A D | libelf_phdr.c | 70 phoff = (uint64_t) eh32->e_phoff; 73 phoff = (uint64_t) eh64->e_phoff;
|
H A D | elf_update.c | 539 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 D | map_object.c | 52 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 D | kvm_powerpc.c | 125 be32toh(vm->eh->e_phoff); 136 vm->ph = (void *)((uintptr_t)vm->eh + be32toh(vm->eh->e_phoff));
|
H A D | kvm_powerpc64.c | 127 _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 D | ELFHeader.h | 59 elf_off e_phoff; ///< File offset of program header table. member in struct:elf::ELFHeader
|
/freebsd-13-stable/sys/mips/mips/ |
H A D | elf_trampoline.c | 130 memcpy(phdr, (void *)(kstart + eh->e_phoff),
|
/freebsd-13-stable/sys/sys/ |
H A D | elf32.h | 63 Elf32_Off e_phoff; /* Program header file offset. */ member in struct:__anon15799
|
H A D | elf64.h | 72 Elf64_Off e_phoff; /* Program header file offset. */ member in struct:__anon15817
|
/freebsd-13-stable/sys/kern/ |
H A D | kern_dump.c | 313 ehdr.e_phoff = sizeof(ehdr); 325 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize;
|
H A D | imgact_elf.c | 459 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 D | link_elf.c | 780 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 D | ctf_lib.c | 149 dst->e_phoff = (Elf64_Off)src->e_phoff;
|
/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_vdso.c | 161 phdr = (Elf_Phdr *)((caddr_t)ehdr + ehdr->e_phoff);
|
/freebsd-13-stable/usr.bin/gcore/ |
H A D | elfcore.c | 480 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 D | load_elf.c | 151 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 D | hwasan.cpp | 257 __ehdr_start.e_phoff),
|
H A D | hwasan_report.cpp | 260 reinterpret_cast<const u8 *>(ehdr) + ehdr->e_phoff);
|
/freebsd-13-stable/stand/i386/isoboot/ |
H A D | isoboot.c | 383 fs_off = hdr.eh.e_phoff;
|
/freebsd-13-stable/stand/mips/beri/boot2/ |
H A D | boot2.c | 345 fs_off = hdr.eh.e_phoff;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | ELF.h | 66 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 D | ELF.h | 211 uint64_t PhOff = getHeader()->e_phoff; 214 Twine(getBufSize()) + ": e_phoff = 0x" + 215 Twine::utohexstr(getHeader()->e_phoff) +
|