| /NextBSD/contrib/elftoolchain/libelf/ |
| HD | 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()
|
| HD | libelf_phdr.c | 71 phoff = (uint64_t) eh32->e_phoff; in _libelf_getphdr() 74 phoff = (uint64_t) eh64->e_phoff; in _libelf_getphdr()
|
| HD | 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() 896 phoff = (uint64_t) eh32->e_phoff; in _libelf_write_phdr() 899 phoff = eh64->e_phoff; in _libelf_write_phdr()
|
| HD | elf_types.m4 | 107 `e_phoff, OFF', 124 `e_phoff, OFF',
|
| /NextBSD/libexec/rtld-elf/ |
| HD | map_object.c | 103 phdr = (Elf_Phdr *) ((char *)hdr + hdr->e_phoff); in map_object() 263 if (phdr_vaddr == 0 && data_offset <= hdr->e_phoff && in map_object() 265 (hdr->e_phoff + hdr->e_phnum * sizeof (Elf_Phdr))) { in map_object() 266 phdr_vaddr = data_vaddr + hdr->e_phoff - data_offset; in map_object() 293 memcpy((char *)obj->phdr, (char *)hdr + hdr->e_phoff, phsize); in map_object() 372 if (hdr->e_phoff + hdr->e_phnum * sizeof(Elf_Phdr) > in get_elf_header()
|
| /NextBSD/contrib/file/src/ |
| HD | elfclass.h | 44 (off_t)elf_getu(swap, elfhdr.e_phoff), phnum, 59 (off_t)elf_getu(swap, elfhdr.e_phoff), phnum,
|
| HD | readelf.h | 62 Elf32_Off e_phoff; member 79 Elf64_Off e_phoff; member
|
| /NextBSD/contrib/binutils/include/elf/ |
| HD | 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
|
| HD | internal.h | 47 bfd_size_type e_phoff; /* Program header table file offset */ member
|
| /NextBSD/contrib/binutils/bfd/ |
| HD | 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()
|
| HD | 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()
|
| /NextBSD/lib/libkvm/ |
| HD | kvm_powerpc.c | 123 be32toh(vm->eh->e_phoff); in powerpc_maphdrs() 134 vm->ph = (void *)((uintptr_t)vm->eh + be32toh(vm->eh->e_phoff)); in powerpc_maphdrs()
|
| HD | kvm_powerpc64.c | 123 be64toh(vm->eh->e_phoff); in powerpc_maphdrs() 135 (uintptr_t)be64toh(vm->eh->e_phoff)); in powerpc_maphdrs()
|
| /NextBSD/usr.bin/ldd/ |
| HD | ldd.c | 326 if (lseek(fd, hdr.elf32.e_phoff, SEEK_SET) == -1) { in is_executable() 368 if (lseek(fd, hdr.elf.e_phoff, SEEK_SET) == -1) { in is_executable()
|
| /NextBSD/sys/kern/ |
| HD | kern_dump.c | 312 ehdr.e_phoff = sizeof(ehdr); in dumpsys_generic() 324 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in dumpsys_generic()
|
| HD | imgact_elf.c | 685 if ((hdr->e_phoff > PAGE_SIZE) || in __elfN() 686 (u_int)hdr->e_phentsize * hdr->e_phnum > PAGE_SIZE - hdr->e_phoff) { in __elfN() 691 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __elfN() 766 if ((hdr->e_phoff > PAGE_SIZE) || in __CONCAT() 767 (u_int)hdr->e_phentsize * hdr->e_phnum > PAGE_SIZE - hdr->e_phoff) { in __CONCAT() 772 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __CONCAT() 906 hdr->e_phoff + hdr->e_phnum * hdr->e_phentsize in __CONCAT() 908 proghdr = phdr[i].p_vaddr + hdr->e_phoff + in __CONCAT() 1631 ehdr->e_phoff = sizeof(Elf_Ehdr); in __elfN() 2260 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __elfN()
|
| /NextBSD/sys/sys/ |
| HD | elf32.h | 61 Elf32_Off e_phoff; /* Program header file offset. */ member
|
| HD | elf64.h | 70 Elf64_Off e_phoff; /* Program header file offset. */ member
|
| /NextBSD/usr.bin/elf2aout/ |
| HD | elf2aout.c | 127 phoff = xe64toh(e->e_phoff); in main()
|
| /NextBSD/cddl/contrib/opensolaris/lib/libctf/common/ |
| HD | ctf_lib.c | 148 dst->e_phoff = (Elf64_Off)src->e_phoff; in ehdr_to_gelf()
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ |
| HD | ELFHeader.h | 63 elf_off e_phoff; ///< File offset of program header table. member
|
| /NextBSD/sys/mips/mips/ |
| HD | elf_trampoline.c | 129 memcpy(phdr, (void *)(kstart + eh->e_phoff), in load_kernel()
|
| /NextBSD/sys/compat/linux/ |
| HD | linux_vdso.c | 157 phdr = (Elf_Phdr *)((caddr_t)ehdr + ehdr->e_phoff); in __elfN()
|
| /NextBSD/sys/boot/sparc64/boot1/ |
| HD | 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()
|
| /NextBSD/contrib/llvm/include/llvm/Support/ |
| HD | ELF.h | 69 Elf32_Off e_phoff; // Program header table's file offset, in bytes member 93 Elf64_Off e_phoff; member
|