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

123

/freebsd-11-stable/contrib/binutils/include/elf/
H A Dexternal.h46 unsigned char e_phoff[4]; /* Program header table file offset */ member in struct:__anon501
63 unsigned char e_phoff[8]; /* Program header table file offset */ member in struct:__anon502
H A Dinternal.h47 bfd_size_type e_phoff; /* Program header table file offset */ member in struct:elf_internal_ehdr
/freebsd-11-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:__anon34
115 Elf64_Off e_phoff; member in struct:__anon35
/freebsd-11-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-11-stable/libexec/rtld-elf/
H A Dmap_object.c50 return (hdr->e_phoff + hdr->e_phnum * sizeof(Elf_Phdr) <=
274 if (phdr_vaddr == 0 && data_offset <= hdr->e_phoff &&
276 (hdr->e_phoff + hdr->e_phnum * sizeof (Elf_Phdr))) {
277 phdr_vaddr = data_vaddr + hdr->e_phoff - data_offset;
304 memcpy((char *)obj->phdr, (char *)hdr + hdr->e_phoff, phsize);
394 phdr = (Elf_Phdr *)((char *)hdr + hdr->e_phoff);
398 hdr->e_phoff);
/freebsd-11-stable/contrib/binutils/bfd/
H A Delfcore.h176 if (i_ehdrp->e_phoff == 0 || i_ehdrp->e_type != ET_CORE)
185 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_phoff, SEEK_SET) != 0)
H A Delfcode.h243 dst->e_phoff = H_GET_WORD (abfd, src->e_phoff);
273 H_PUT_WORD (abfd, src->e_phoff, dst->e_phoff);
830 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_phoff, SEEK_SET) != 0)
1551 fprintf (stderr, "e_phoff = %ld\n", (long) ehdrp->e_phoff);
1654 err = target_read_memory (ehdr_vma + i_ehdr.e_phoff, (bfd_byte *) x_phdrs,
/freebsd-11-stable/lib/libkvm/
H A Dkvm_powerpc.c123 be32toh(vm->eh->e_phoff);
134 vm->ph = (void *)((uintptr_t)vm->eh + be32toh(vm->eh->e_phoff));
H A Dkvm_powerpc64.c123 be64toh(vm->eh->e_phoff);
135 (uintptr_t)be64toh(vm->eh->e_phoff));
/freebsd-11-stable/sys/mips/mips/
H A Delf_trampoline.c129 memcpy(phdr, (void *)(kstart + eh->e_phoff),
/freebsd-11-stable/sys/sys/
H A Delf64.h70 Elf64_Off e_phoff; /* Program header file offset. */ member in struct:__anon8483
H A Delf32.h61 Elf32_Off e_phoff; /* Program header file offset. */ member in struct:__anon8465
/freebsd-11-stable/usr.bin/elf2aout/
H A Delf2aout.c129 phoff = xe64toh(e->e_phoff);
/freebsd-11-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-11-stable/sys/kern/
H A Dkern_dump.c304 ehdr.e_phoff = sizeof(ehdr);
316 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize;
H A Dimgact_elf.c395 return (hdr->e_phoff <= PAGE_SIZE &&
396 (u_int)hdr->e_phentsize * hdr->e_phnum <= PAGE_SIZE - hdr->e_phoff);
743 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff);
822 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff);
963 hdr->e_phoff + hdr->e_phnum * hdr->e_phentsize
965 proghdr = phdr[i].p_vaddr + hdr->e_phoff +
1716 ehdr->e_phoff = sizeof(Elf_Ehdr);
2435 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff);
/freebsd-11-stable/usr.bin/ldd/
H A Dldd.c334 if (lseek(fd, hdr.elf32.e_phoff, SEEK_SET) == -1) {
402 if (lseek(fd, hdr.elf.e_phoff, SEEK_SET) == -1) {
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c148 dst->e_phoff = (Elf64_Off)src->e_phoff;
/freebsd-11-stable/usr.sbin/kgzip/
H A Dkgzcmp.c187 e->e_phoff + i * e->e_phentsize) != e->e_phentsize)
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_vdso.c157 phdr = (Elf_Phdr *)((caddr_t)ehdr + ehdr->e_phoff);
/freebsd-11-stable/stand/sparc64/boot1/
H A Dboot1.c429 fs_off = eh.e_phoff + i * eh.e_phentsize;
477 fs_off = eh.e_phoff + i * eh.e_phentsize;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h197 if (getHeader()->e_phoff +
201 Twine(getBufSize()) + ": e_phoff = 0x" +
202 Twine::utohexstr(getHeader()->e_phoff) +
206 reinterpret_cast<const Elf_Phdr *>(base() + getHeader()->e_phoff);

Completed in 390 milliseconds

123