/openbsd/lib/libelf/ |
H A D | gelf_ehdr.c | 77 d->e_phentsize = eh32->e_phentsize; in gelf_getehdr() 160 eh32->e_phentsize = s->e_phentsize; in gelf_update_ehdr()
|
H A D | elf_types.m4 | 111 `e_phentsize, HALF', 128 `e_phentsize, HALF',
|
/openbsd/usr.sbin/mopd/common/ |
H A D | file.c | 504 uint32_t e_phoff, e_phentsize, e_phnum; in GetElf32FileInfo() 536 e_phentsize = mopFileGetLX((u_char *) &ehdr, in GetElf32FileInfo() 537 offsetof(Elf32_Ehdr, e_phentsize), in GetElf32FileInfo() 538 sizeof(ehdr.e_phentsize)); in GetElf32FileInfo() 556 offsetof(Elf32_Ehdr, e_phentsize), in GetElf32FileInfo() 557 sizeof(ehdr.e_phentsize)); in GetElf32FileInfo() 694 uint32_t e_phentsize, e_phnum; in GetElf64FileInfo() 728 offsetof(Elf64_Ehdr, e_phentsize), in GetElf64FileInfo() 729 sizeof(ehdr.e_phentsize)); in GetElf64FileInfo() 747 offsetof(Elf64_Ehdr, e_phentsize), in GetElf64FileInfo() [all …]
|
/openbsd/gnu/usr.bin/binutils/include/elf/ |
H A D | external.h | 50 unsigned char e_phentsize[2]; /* Program header table entry size */ member 67 unsigned char e_phentsize[2]; /* Program header table entry size */ member
|
H A D | internal.h | 54 unsigned int e_phentsize; /* Program header table entry size */ member
|
/openbsd/gnu/usr.bin/binutils-2.17/include/elf/ |
H A D | external.h | 50 unsigned char e_phentsize[2]; /* Program header table entry size */ member 67 unsigned char e_phentsize[2]; /* Program header table entry size */ member
|
H A D | internal.h | 54 unsigned int e_phentsize; /* Program header table entry size */ member
|
/openbsd/usr.sbin/mkuboot/ |
H A D | copy_elf.c | 85 letoh16(ehdr.e_phentsize), SEEK_SET) == (off_t)-1) in ELFNAME() 134 letoh16(ehdr.e_phentsize), SEEK_SET) == (off_t)-1) in ELFNAME() 256 elf.e_phentsize = 0; in ELFNAME()
|
/openbsd/libexec/ld.so/ldd/ |
H A D | ldd.c | 137 if (ehdr.e_phnum == 0 || ehdr.e_phentsize == 0) { in doit()
|
/openbsd/usr.sbin/crunchgen/ |
H A D | elf_hide.c | 92 printf("e_phentsize %x\n", pehdr->e_phentsize); in elf_hide() 124 (i * pehdr->e_phentsize)); in elf_hide()
|
/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | elfcode.h | 241 dst->e_phentsize = H_GET_16 (abfd, src->e_phentsize); in elf_swap_ehdr_in() 271 H_PUT_16 (abfd, src->e_phentsize, dst->e_phentsize); in elf_swap_ehdr_out() 1433 fprintf (stderr, "e_phentsize = %ld\n", (long) ehdrp->e_phentsize); in elf_debug_file() 1592 if (i_ehdr.e_phentsize != sizeof (Elf_External_Phdr) || i_ehdr.e_phnum == 0) in NAME()
|
H A D | elfcore.h | 206 if (i_ehdrp->e_phentsize != sizeof (Elf_External_Phdr)) in elf_core_file_p()
|
H A D | elf.c | 3735 elf_elfheader (abfd)->e_phentsize = bed->s->sizeof_phdr; in assign_file_positions_for_segments() 4428 i_ehdrp->e_phentsize = 0; in prep_headers() 4440 i_ehdrp->e_phentsize = sizeof (Elf_External_Phdr); in prep_headers() 4446 outbase += i_ehdrp->e_phentsize * i_ehdrp->e_phnum; in prep_headers() 4451 i_ehdrp->e_phentsize = 0; in prep_headers() 4915 + iehdr->e_phnum * iehdr->e_phentsize))); in copy_private_bfd_data() 5009 * iehdr->e_phentsize) in copy_private_bfd_data() 5075 map->p_paddr -= iehdr->e_phnum * iehdr->e_phentsize; in copy_private_bfd_data() 5124 ? iehdr->e_phnum * iehdr->e_phentsize in copy_private_bfd_data() 5222 -= (count - phdr_adjust_num) * iehdr->e_phentsize; in copy_private_bfd_data()
|
/openbsd/gnu/llvm/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.h | 66 elf_half e_phentsize; ///< Size of a program header table entry. member
|
/openbsd/sys/sys/ |
H A D | exec_elf.h | 129 Elf32_Half e_phentsize; /* program header entry size */ member 147 Elf64_Half e_phentsize; /* Program header entry size */ member
|
/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | elfcore.h | 206 if (i_ehdrp->e_phentsize != sizeof (Elf_External_Phdr)) in elf_core_file_p()
|
H A D | elfcode.h | 243 dst->e_phentsize = H_GET_16 (abfd, src->e_phentsize); in elf_swap_ehdr_in() 273 H_PUT_16 (abfd, src->e_phentsize, dst->e_phentsize); in elf_swap_ehdr_out() 1511 fprintf (stderr, "e_phentsize = %ld\n", (long) ehdrp->e_phentsize); in elf_debug_file() 1670 if (i_ehdr.e_phentsize != sizeof (Elf_External_Phdr) || i_ehdr.e_phnum == 0) in NAME()
|
/openbsd/usr.bin/nm/ |
H A D | elf.c | 141 eh->e_phentsize = swap16(eh->e_phentsize); in elf_fix_header()
|
/openbsd/sys/arch/sparc64/stand/ofwboot/ |
H A D | elf64_exec.c | 235 elf->e_phentsize = 0; in elf64_exec()
|
/openbsd/gnu/llvm/llvm/include/llvm/Object/ |
H A D | ELF.h | 284 if (getHeader().e_phnum && getHeader().e_phentsize != sizeof(Elf_Phdr)) in program_headers() 286 Twine(getHeader().e_phentsize)); in program_headers() 289 (uint64_t)getHeader().e_phnum * getHeader().e_phentsize; in program_headers() 296 ", e_phentsize = " + Twine(getHeader().e_phentsize)); in program_headers()
|
/openbsd/sys/lib/libsa/ |
H A D | loadfile_elf.c | 280 elf->e_phentsize = 0; in ELFNAME()
|
/openbsd/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
H A D | ELF.h | 71 Elf32_Half e_phentsize; // Size of an entry in the program header table member 97 Elf64_Half e_phentsize; member
|
/openbsd/usr.sbin/vmd/ |
H A D | loadfile_elf.c | 863 elf->e_phentsize = 0; in elf64_exec() 1080 elf->e_phentsize = 0; in elf32_exec()
|
/openbsd/sys/arch/octeon/dev/ |
H A D | octboot.c | 270 eh.e_phentsize = 0; in octboot_kexec()
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux.cpp | 1244 char *phdrs_end = phdrs + ehdr->e_phnum * ehdr->e_phentsize; in ForEachMappedRegion() 1250 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion() 1259 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion()
|