Home
last modified time | relevance | path

Searched refs:e_phentsize (Results 1 – 25 of 38) sorted by relevance

12

/openbsd/lib/libelf/
H A Dgelf_ehdr.c77 d->e_phentsize = eh32->e_phentsize; in gelf_getehdr()
160 eh32->e_phentsize = s->e_phentsize; in gelf_update_ehdr()
H A Delf_types.m4111 `e_phentsize, HALF',
128 `e_phentsize, HALF',
/openbsd/usr.sbin/mopd/common/
H A Dfile.c504 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 Dexternal.h50 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 Dinternal.h54 unsigned int e_phentsize; /* Program header table entry size */ member
/openbsd/gnu/usr.bin/binutils-2.17/include/elf/
H A Dexternal.h50 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 Dinternal.h54 unsigned int e_phentsize; /* Program header table entry size */ member
/openbsd/usr.sbin/mkuboot/
H A Dcopy_elf.c85 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 Dldd.c137 if (ehdr.e_phnum == 0 || ehdr.e_phentsize == 0) { in doit()
/openbsd/usr.sbin/crunchgen/
H A Delf_hide.c92 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 Delfcode.h241 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 Delfcore.h206 if (i_ehdrp->e_phentsize != sizeof (Elf_External_Phdr)) in elf_core_file_p()
H A Delf.c3735 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 DELFHeader.h66 elf_half e_phentsize; ///< Size of a program header table entry. member
/openbsd/sys/sys/
H A Dexec_elf.h129 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 Delfcore.h206 if (i_ehdrp->e_phentsize != sizeof (Elf_External_Phdr)) in elf_core_file_p()
H A Delfcode.h243 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 Delf.c141 eh->e_phentsize = swap16(eh->e_phentsize); in elf_fix_header()
/openbsd/sys/arch/sparc64/stand/ofwboot/
H A Delf64_exec.c235 elf->e_phentsize = 0; in elf64_exec()
/openbsd/gnu/llvm/llvm/include/llvm/Object/
H A DELF.h284 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 Dloadfile_elf.c280 elf->e_phentsize = 0; in ELFNAME()
/openbsd/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DELF.h71 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 Dloadfile_elf.c863 elf->e_phentsize = 0; in elf64_exec()
1080 elf->e_phentsize = 0; in elf32_exec()
/openbsd/sys/arch/octeon/dev/
H A Doctboot.c270 eh.e_phentsize = 0; in octboot_kexec()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp1244 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()

12