Searched refs:e_shoff (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-11.0-release/contrib/binutils/include/elf/
H A Dexternal.h47 unsigned char e_shoff[4]; /* Section header table file offset */ member in struct:__anon501
64 unsigned char e_shoff[8]; /* Section header table file offset */ member in struct:__anon502
H A Dinternal.h48 bfd_size_type e_shoff; /* Section header table file offset */ member in struct:elf_internal_ehdr
/freebsd-11.0-release/contrib/elftoolchain/libelf/
H A Dgelf_ehdr.c74 d->e_shoff = eh32->e_shoff;
157 LIBELF_COPY_U32(eh32, s, e_shoff);
H A Delf_scn.c79 shoff = (uint64_t) eh32->e_shoff;
83 shoff = eh64->e_shoff;
H A Dlibelf_ehdr.c180 shoff = ((Elf32_Ehdr *) ehdr)->e_shoff;
185 shoff = ((Elf64_Ehdr *) ehdr)->e_shoff;
H A Delf_update.c534 shoff = (off_t) eh32->e_shoff;
540 shoff = (off_t) eh64->e_shoff;
692 * Update the `e_phoff' and `e_shoff' fields if the library is
698 eh32->e_shoff = (uint32_t) shoff;
701 eh64->e_shoff = (uint64_t) shoff;
952 shoff = (uint64_t) eh32->e_shoff;
955 shoff = eh64->e_shoff;
/freebsd-11.0-release/sys/compat/linux/
H A Dlinux_vdso.c115 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-11.0-release/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c149 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) {
357 } else if (pread64(fd, sp, nbytes, hdr.e64.e_shoff) != nbytes) {
/freebsd-11.0-release/usr.sbin/crunch/crunchide/
H A Dexec_elf32.c250 if (xreadatoff(fd, shdrp, xewtoh(ehdr.e_shoff), shdrsize, fn) !=
298 shdrshdr.sh_offset = ehdr.e_shoff;
459 ehdr.e_shoff != shdrshdr.sh_offset) {
460 ehdr.e_shoff = shdrshdr.sh_offset;
461 off = offsetof(Elf_Ehdr, e_shoff);
463 if ((size_t)xwriteatoff(fd, &ehdr.e_shoff, off, size,
/freebsd-11.0-release/sys/mips/mips/
H A Delf_trampoline.c132 memcpy(shdr, (void *)(kstart + eh->e_shoff),
135 if (eh->e_shnum * eh->e_shentsize != 0 && eh->e_shoff != 0) {
/freebsd-11.0-release/contrib/file/src/
H A Delfclass.h69 (off_t)elf_getu(swap, elfhdr.e_shoff), shnum,
H A Dreadelf.h99 Elf32_Off e_shoff; member in struct:__anon1160
116 Elf64_Off e_shoff; member in struct:__anon1161
/freebsd-11.0-release/contrib/binutils/bfd/
H A Delfcode.h244 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-11.0-release/usr.bin/gprof/
H A Delf.c87 shdrs = (const Elf_Shdr *)(base + h.e_shoff);
/freebsd-11.0-release/sys/kern/
H A Dkern_ctf.c138 if (nbytes == 0 || hdr->e_shoff == 0 ||
149 hdr->e_shoff, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED,
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h64 elf_off e_shoff; ///< File offset of section header table. member in struct:elf::ELFHeader
/freebsd-11.0-release/contrib/llvm/include/llvm/Object/
H A DELF.h319 if (Header->e_shnum == ELF::SHN_UNDEF && Header->e_shoff > 0) {
350 if (Header->e_shoff == 0)
353 const uint64_t SectionTableOffset = Header->e_shoff;
398 return reinterpret_cast<const Elf_Shdr *>(base() + Header->e_shoff);
/freebsd-11.0-release/sys/sys/
H A Delf32.h62 Elf32_Off e_shoff; /* Section header file offset. */ member in struct:__anon13325
H A Delf64.h71 Elf64_Off e_shoff; /* Section header file offset. */ member in struct:__anon13342
/freebsd-11.0-release/contrib/elftoolchain/elfcopy/
H A Dbinary.c278 oeh.e_shoff = shtab->off;
280 /* Update ehdr since we modified e_shoff. */
/freebsd-11.0-release/sys/boot/common/
H A Dload_elf_obj.c126 if (hdr->e_shnum * hdr->e_shentsize == 0 || hdr->e_shoff == 0 ||
203 shdr = alloc_pread(ef->fd, (off_t)hdr->e_shoff, shdrbytes);
/freebsd-11.0-release/sys/arm/arm/
H A Delf_trampoline.c506 memcpy(shdr, (void *)(kstart + eh->e_shoff),
509 eh->e_shoff != 0) {
/freebsd-11.0-release/usr.sbin/kldxref/
H A Def_obj.c375 if (nbytes == 0 || hdr->e_shoff == 0 ||
379 if (ef_obj_read_entry(ef, hdr->e_shoff, nbytes, &vtmp) != 0) {
/freebsd-11.0-release/lib/libc/gen/
H A Dnlist.c269 (off_t)ehdr.e_shoff);
/freebsd-11.0-release/sys/x86/xen/
H A Dpv.c353 shdr = (Elf_Shdr *)((uint8_t *)ehdr + ehdr->e_shoff);

Completed in 302 milliseconds

12