/freebsd/contrib/elftoolchain/libelf/ |
H A D | gelf_ehdr.c | 74 d->e_shoff = eh32->e_shoff; in gelf_getehdr() 157 LIBELF_COPY_U32(eh32, s, e_shoff); in gelf_update_ehdr()
|
H A D | elf_scn.c | 92 shoff = (uint64_t) eh32->e_shoff; in _libelf_load_section_headers() 96 shoff = eh64->e_shoff; in _libelf_load_section_headers()
|
H A D | libelf_ehdr.c | 181 shoff = ((Elf32_Ehdr *) ehdr)->e_shoff; in _libelf_ehdr() 186 shoff = ((Elf64_Ehdr *) ehdr)->e_shoff; in _libelf_ehdr()
|
H A D | elf_update.c | 540 shoff = (off_t) eh32->e_shoff; in _libelf_resync_elf() 546 shoff = (off_t) eh64->e_shoff; in _libelf_resync_elf() 704 eh32->e_shoff = (uint32_t) shoff; in _libelf_resync_elf() 707 eh64->e_shoff = (uint64_t) shoff; in _libelf_resync_elf() 976 shoff = (uint64_t) eh32->e_shoff; in _libelf_write_shdr() 979 shoff = eh64->e_shoff; in _libelf_write_shdr()
|
H A D | elf_types.m4 | 108 `e_shoff, OFF', 125 `e_shoff, OFF',
|
/freebsd/usr.sbin/crunch/crunchide/ |
H A D | exec_elf32.c | 251 if (xreadatoff(fd, shdrp, xewtoh(ehdr.e_shoff), shdrsize, fn) != in ELFNAMEEND() 303 shdrshdr.sh_offset = ehdr.e_shoff; in ELFNAMEEND() 464 ehdr.e_shoff != shdrshdr.sh_offset) { in ELFNAMEEND() 465 ehdr.e_shoff = shdrshdr.sh_offset; in ELFNAMEEND() 466 off = offsetof(Elf_Ehdr, e_shoff); in ELFNAMEEND() 468 if ((size_t)xwriteatoff(fd, &ehdr.e_shoff, off, size, in ELFNAMEEND()
|
/freebsd/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 150 dst->e_shoff = (Elf64_Off)src->e_shoff; in ehdr_to_gelf() 312 hdr.e64.e_shoff) != sizeof (x32)) in ctf_fdopen() 322 hdr.e64.e_shoff) != sizeof (x64)) in ctf_fdopen() 349 sp32, nbytes, hdr.e64.e_shoff) != nbytes) { in ctf_fdopen() 360 } else if (pread64(fd, sp, nbytes, hdr.e64.e_shoff) != nbytes) { in ctf_fdopen()
|
/freebsd/sys/compat/linux/ |
H A D | linux_vdso.c | 117 MPASS(ehdr->e_shoff != 0); in __elfN() 120 shdr = (const Elf_Shdr *)(base + ehdr->e_shoff); in __elfN()
|
/freebsd/contrib/file/src/ |
H A D | readelf.h | 99 Elf32_Off e_shoff; member 116 Elf64_Off e_shoff; member
|
H A D | elfclass.h | 69 CAST(off_t, elf_getu(swap, elfhdr.e_shoff)), shnum,
|
/freebsd/sys/kern/ |
H A D | kern_ctf.c | 126 if (nbytes == 0 || hdr->e_shoff == 0 || in link_elf_ctf_get() 137 hdr->e_shoff, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_ctf_get()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 90 result &= e_shoff != 0; in HasHeaderExtension() 100 lldb_private::DataExtractor sh_data(data, e_shoff, e_shentsize); in ParseHeaderExtension()
|
H A D | ELFHeader.h | 60 elf_off e_shoff; ///< File offset of section header table. member
|
/freebsd/usr.bin/gprof/ |
H A D | elf.c | 83 shdrs = (const Elf_Shdr *)(base + h.e_shoff); in elf_getnfile()
|
/freebsd/sys/sys/ |
H A D | elf32.h | 62 Elf32_Off e_shoff; /* Section header file offset. */ member
|
H A D | elf64.h | 71 Elf64_Off e_shoff; /* Section header file offset. */ member
|
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
H A D | ELFObjHandler.cpp | 257 ElfHeader.e_shoff = in ELFStubBuilder() 262 return ElfHeader.e_shoff + ElfHeader.e_shnum * sizeof(Elf_Shdr); in getSize() 331 return ElfHeader.e_shoff + Sec.Index * sizeof(Elf_Shdr); in shdrOffset()
|
/freebsd/lib/libc/gen/ |
H A D | nlist.c | 156 (off_t)ehdr.e_shoff); in __elf_fdnlist()
|
/freebsd/stand/common/ |
H A D | load_elf.c | 144 CONVERT_FIELD(b, e_shoff, e); \ in elf_header_convert() 707 if (chunk == 0 || ehdr->e_shoff == 0) 709 shdr = alloc_pread(VECTX_HANDLE(ef), ehdr->e_shoff, chunk); 1014 shdr = alloc_pread(VECTX_HANDLE(&ef), ef.ehdr->e_shoff, size);
|
H A D | load_elf_obj.c | 142 if (hdr->e_shnum * hdr->e_shentsize == 0 || hdr->e_shoff == 0 || in __elfN() 238 shdr = alloc_pread(VECTX_HANDLE(ef), (off_t)hdr->e_shoff, shdrbytes); in __elfN()
|
/freebsd/contrib/elftoolchain/elfcopy/ |
H A D | binary.c | 279 oeh.e_shoff = shtab->off; in create_elf_from_binary()
|
H A D | ascii.c | 393 oeh.e_shoff = shtab->off; in create_elf_from_srec() 617 oeh.e_shoff = shtab->off; in create_elf_from_ihex()
|
/freebsd/sys/x86/xen/ |
H A D | pv.c | 232 shdr = (Elf_Shdr *)((uint8_t *)ehdr + ehdr->e_shoff); in xen_pvh_parse_symtab()
|
/freebsd/usr.bin/gcore/ |
H A D | elfcore.c | 510 ehdr->e_shoff = ehdr->e_phoff + in elf_puthdr() 513 shdr = (Elf_Shdr *)((char *)hdr + ehdr->e_shoff); in elf_puthdr()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | ELF.h | 69 Elf32_Off e_shoff; // Section header table's file offset, in bytes member 95 Elf64_Off e_shoff; member
|