| /freebsd-12.1/contrib/elftoolchain/libelf/ |
| H A D | gelf_ehdr.c | 73 d->e_phoff = eh32->e_phoff; in gelf_getehdr() 156 LIBELF_COPY_U32(eh32, s, e_phoff); in gelf_update_ehdr()
|
| H A D | libelf_phdr.c | 70 phoff = (uint64_t) eh32->e_phoff; in _libelf_getphdr() 73 phoff = (uint64_t) eh64->e_phoff; in _libelf_getphdr()
|
| H A D | elf_update.c | 533 phoff = (off_t) eh32->e_phoff; in _libelf_resync_elf() 539 phoff = (off_t) eh64->e_phoff; in _libelf_resync_elf() 697 eh32->e_phoff = (uint32_t) phoff; in _libelf_resync_elf() 700 eh64->e_phoff = (uint64_t) phoff; in _libelf_resync_elf() 904 phoff = (uint64_t) eh32->e_phoff; in _libelf_write_phdr() 907 phoff = eh64->e_phoff; in _libelf_write_phdr()
|
| H A D | elf_types.m4 | 107 `e_phoff, OFF', 124 `e_phoff, OFF',
|
| /freebsd-12.1/libexec/rtld-elf/ |
| H A D | map_object.c | 106 phdr = (Elf_Phdr *)((char *)hdr + hdr->e_phoff); in map_object() 270 if (phdr_vaddr == 0 && data_offset <= hdr->e_phoff && in map_object() 272 (hdr->e_phoff + hdr->e_phnum * sizeof (Elf_Phdr))) { in map_object() 273 phdr_vaddr = data_vaddr + hdr->e_phoff - data_offset; in map_object() 300 memcpy(__DECONST(char *, obj->phdr), (char *)hdr + hdr->e_phoff, phsize); in map_object() 385 if (hdr->e_phoff + hdr->e_phnum * sizeof(Elf_Phdr) > in get_elf_header()
|
| /freebsd-12.1/contrib/file/src/ |
| H A D | elfclass.h | 44 (off_t)elf_getu(swap, elfhdr.e_phoff), phnum, 59 (off_t)elf_getu(swap, elfhdr.e_phoff), phnum,
|
| H A D | readelf.h | 98 Elf32_Off e_phoff; member 115 Elf64_Off e_phoff; member
|
| /freebsd-12.1/contrib/binutils/include/elf/ |
| H A D | external.h | 46 unsigned char e_phoff[4]; /* Program header table file offset */ member 63 unsigned char e_phoff[8]; /* Program header table file offset */ member
|
| H A D | internal.h | 47 bfd_size_type e_phoff; /* Program header table file offset */ member
|
| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | elfcore.h | 176 if (i_ehdrp->e_phoff == 0 || i_ehdrp->e_type != ET_CORE) in elf_core_file_p() 185 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_phoff, SEEK_SET) != 0) in elf_core_file_p()
|
| H A D | elfcode.h | 242 dst->e_phoff = H_GET_WORD (abfd, src->e_phoff); in elf_swap_ehdr_in() 272 H_PUT_WORD (abfd, src->e_phoff, dst->e_phoff); in elf_swap_ehdr_out() 828 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_phoff, SEEK_SET) != 0) in elf_object_p() 1548 fprintf (stderr, "e_phoff = %ld\n", (long) ehdrp->e_phoff); in elf_debug_file() 1650 err = target_read_memory (ehdr_vma + i_ehdr.e_phoff, (bfd_byte *) x_phdrs, in NAME()
|
| /freebsd-12.1/lib/libkvm/ |
| H A D | kvm_powerpc64.c | 125 be64toh(vm->eh->e_phoff); in powerpc_maphdrs() 137 (uintptr_t)be64toh(vm->eh->e_phoff)); in powerpc_maphdrs()
|
| H A D | kvm_powerpc.c | 125 be32toh(vm->eh->e_phoff); in powerpc_maphdrs() 136 vm->ph = (void *)((uintptr_t)vm->eh + be32toh(vm->eh->e_phoff)); in powerpc_maphdrs()
|
| /freebsd-12.1/usr.bin/ldd/ |
| H A D | ldd.c | 328 if (lseek(fd, hdr.elf32.e_phoff, SEEK_SET) == -1) { in is_executable() 370 if (lseek(fd, hdr.elf.e_phoff, SEEK_SET) == -1) { in is_executable()
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_dump.c | 313 ehdr.e_phoff = sizeof(ehdr); in dumpsys_generic() 325 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in dumpsys_generic()
|
| H A D | imgact_elf.c | 784 if ((hdr->e_phoff > PAGE_SIZE) || in __elfN() 785 (u_int)hdr->e_phentsize * hdr->e_phnum > PAGE_SIZE - hdr->e_phoff) { in __elfN() 790 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __elfN() 1061 if ((hdr->e_phoff > PAGE_SIZE) || in __CONCAT() 1067 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __CONCAT() 1101 hdr->e_phoff + hdr->e_phnum * hdr->e_phentsize in __CONCAT() 1103 proghdr = phdr[i].p_vaddr + hdr->e_phoff; in __CONCAT() 1886 ehdr->e_phoff = sizeof(Elf_Ehdr); in __elfN() 1899 ehdr->e_shoff = ehdr->e_phoff + in __elfN() 1926 phdr = (Elf_Phdr *)((char *)hdr + ehdr->e_phoff); in __elfN() [all …]
|
| /freebsd-12.1/sys/sys/ |
| H A D | elf32.h | 63 Elf32_Off e_phoff; /* Program header file offset. */ member
|
| H A D | elf64.h | 72 Elf64_Off e_phoff; /* Program header file offset. */ member
|
| /freebsd-12.1/usr.bin/elf2aout/ |
| H A D | elf2aout.c | 129 phoff = xe64toh(e->e_phoff); in main()
|
| /freebsd-12.1/cddl/contrib/opensolaris/lib/libctf/common/ |
| H A D | ctf_lib.c | 148 dst->e_phoff = (Elf64_Off)src->e_phoff; in ehdr_to_gelf()
|
| /freebsd-12.1/sys/mips/mips/ |
| H A D | elf_trampoline.c | 131 memcpy(phdr, (void *)(kstart + eh->e_phoff), in load_kernel()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ELFHeader.h | 62 elf_off e_phoff; ///< File offset of program header table. member
|
| /freebsd-12.1/usr.bin/gcore/ |
| H A D | elfcore.c | 472 ehdr->e_phoff = sizeof(Elf_Ehdr); in elf_puthdr() 485 ehdr->e_shoff = ehdr->e_phoff + in elf_puthdr() 509 phdr = (Elf_Phdr *)((char *)hdr + ehdr->e_phoff); in elf_puthdr()
|
| /freebsd-12.1/sys/compat/linux/ |
| H A D | linux_vdso.c | 157 phdr = (Elf_Phdr *)((caddr_t)ehdr + ehdr->e_phoff); in __elfN()
|
| /freebsd-12.1/stand/sparc64/boot1/ |
| H A D | boot1.c | 429 fs_off = eh.e_phoff + i * eh.e_phentsize; in loadzfs() 477 fs_off = eh.e_phoff + i * eh.e_phentsize; in load()
|