/freebsd-12-stable/contrib/binutils/include/elf/ |
H A D | external.h | 47 unsigned char e_shoff[4]; /* Section header table file offset */ member in struct:__anon722 64 unsigned char e_shoff[8]; /* Section header table file offset */ member in struct:__anon723
|
H A D | internal.h | 48 bfd_size_type e_shoff; /* Section header table file offset */ member in struct:elf_internal_ehdr
|
/freebsd-12-stable/contrib/elftoolchain/libelf/ |
H A D | gelf_ehdr.c | 74 d->e_shoff = eh32->e_shoff; 157 LIBELF_COPY_U32(eh32, s, e_shoff);
|
H A D | elf_scn.c | 92 shoff = (uint64_t) eh32->e_shoff; 96 shoff = eh64->e_shoff;
|
H A D | libelf_ehdr.c | 181 shoff = ((Elf32_Ehdr *) ehdr)->e_shoff; 186 shoff = ((Elf64_Ehdr *) ehdr)->e_shoff;
|
H A D | elf_update.c | 540 shoff = (off_t) eh32->e_shoff; 546 shoff = (off_t) eh64->e_shoff; 698 * Update the `e_phoff' and `e_shoff' fields if the library is 704 eh32->e_shoff = (uint32_t) shoff; 707 eh64->e_shoff = (uint64_t) shoff; 976 shoff = (uint64_t) eh32->e_shoff; 979 shoff = eh64->e_shoff;
|
/freebsd-12-stable/sys/compat/linux/ |
H A D | linux_vdso.c | 115 ehdr->e_shoff == 0 || 122 shdr = (Elf_Shdr *) ((caddr_t)ehdr + ehdr->e_shoff); 196 shdr = (Elf_Shdr *)((caddr_t)ehdr + ehdr->e_shoff); 229 shdr = (Elf_Shdr *) ((caddr_t)ehdr + ehdr->e_shoff);
|
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 149 dst->e_shoff = (Elf64_Off)src->e_shoff; 310 hdr.e64.e_shoff) != sizeof (x32)) 320 hdr.e64.e_shoff) != sizeof (x64)) 339 * from e_shoff so we can locate sections of interest. 347 sp32, nbytes, hdr.e64.e_shoff) != nbytes) { 358 } else if (pread64(fd, sp, nbytes, hdr.e64.e_shoff) != nbytes) {
|
/freebsd-12-stable/usr.sbin/crunch/crunchide/ |
H A D | exec_elf32.c | 253 if (xreadatoff(fd, shdrp, xewtoh(ehdr.e_shoff), shdrsize, fn) != 305 shdrshdr.sh_offset = ehdr.e_shoff; 466 ehdr.e_shoff != shdrshdr.sh_offset) { 467 ehdr.e_shoff = shdrshdr.sh_offset; 468 off = offsetof(Elf_Ehdr, e_shoff); 470 if ((size_t)xwriteatoff(fd, &ehdr.e_shoff, off, size,
|
/freebsd-12-stable/sys/mips/mips/ |
H A D | elf_trampoline.c | 134 memcpy(shdr, (void *)(kstart + eh->e_shoff), 137 if (eh->e_shnum * eh->e_shentsize != 0 && eh->e_shoff != 0) {
|
/freebsd-12-stable/contrib/file/src/ |
H A D | elfclass.h | 69 CAST(off_t, elf_getu(swap, elfhdr.e_shoff)), shnum,
|
H A D | readelf.h | 99 Elf32_Off e_shoff; member in struct:__anon1329 116 Elf64_Off e_shoff; member in struct:__anon1330
|
/freebsd-12-stable/contrib/binutils/bfd/ |
H A D | elfcode.h | 244 dst->e_shoff = H_GET_WORD (abfd, src->e_shoff); 274 H_PUT_WORD (abfd, src->e_shoff, dst->e_shoff); 573 if (i_ehdrp->e_shoff == 0 && i_ehdrp->e_type == ET_REL) 583 if (i_ehdrp->e_shoff == 0 && i_ehdrp->e_shnum != 0) 675 if (i_ehdrp->e_shoff != 0) 677 bfd_signed_vma where = i_ehdrp->e_shoff; 722 if ((bfd_size_type) where <= i_ehdrp->e_shoff) 731 where = i_ehdrp->e_shoff [all...] |
/freebsd-12-stable/usr.bin/gprof/ |
H A D | elf.c | 89 shdrs = (const Elf_Shdr *)(base + h.e_shoff);
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.h | 60 elf_off e_shoff; ///< File offset of section header table. member in struct:elf::ELFHeader
|
H A D | ELFHeader.cpp | 90 result &= e_shoff != 0; 100 lldb_private::DataExtractor sh_data(data, e_shoff, e_shentsize); 132 // Read e_entry, e_phoff and e_shoff.
|
/freebsd-12-stable/sys/sys/ |
H A D | elf32.h | 64 Elf32_Off e_shoff; /* Section header file offset. */ member in struct:__anon16780
|
H A D | elf64.h | 73 Elf64_Off e_shoff; /* Section header file offset. */ member in struct:__anon16798
|
/freebsd-12-stable/sys/kern/ |
H A D | kern_ctf.c | 140 if (nbytes == 0 || hdr->e_shoff == 0 || 151 hdr->e_shoff, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED,
|
/freebsd-12-stable/sys/arm/arm/ |
H A D | elf_trampoline.c | 324 memcpy(shdr, (void *)(kstart + eh->e_shoff), 327 eh->e_shoff != 0) {
|
/freebsd-12-stable/contrib/elftoolchain/elfcopy/ |
H A D | binary.c | 279 oeh.e_shoff = shtab->off; 281 /* Update ehdr since we modified e_shoff. */
|
/freebsd-12-stable/stand/common/ |
H A D | load_elf_obj.c | 148 if (hdr->e_shnum * hdr->e_shentsize == 0 || hdr->e_shoff == 0 || 243 shdr = alloc_pread(VECTX_HANDLE(ef), (off_t)hdr->e_shoff, shdrbytes);
|
H A D | load_elf.c | 149 CONVERT_FIELD(b, e_shoff, e); \ 642 if (chunk == 0 || ehdr->e_shoff == 0) 644 shdr = alloc_pread(VECTX_HANDLE(ef), ehdr->e_shoff, chunk); 971 shdr = alloc_pread(VECTX_HANDLE(&ef), ef.ehdr->e_shoff, size);
|
/freebsd-12-stable/usr.sbin/kldxref/ |
H A D | ef_obj.c | 403 if (nbytes == 0 || hdr->e_shoff == 0 || 407 if (ef_obj_read_entry(ef, hdr->e_shoff, nbytes, &vtmp) != 0) {
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | nlist.c | 269 (off_t)ehdr.e_shoff);
|