Searched refs:sh_size (Results 26 - 50 of 79) sorted by relevance

1234

/freebsd-13-stable/contrib/elftoolchain/elfcopy/
H A Dbinary.c79 sh.sh_size == 0)
105 sh.sh_size == 0)
H A Dsections.c411 s->sz = ish.sh_size;
646 if (ish.sh_size == 0)
661 if ((s->buf = malloc(ish.sh_size)) == NULL)
664 s->sz = ish.sh_size;
672 n = ish.sh_size / ish.sh_entsize;
750 n = ish.sh_size / ish.sh_entsize;
850 n = osh.sh_size / osh.sh_entsize;
887 osh.sh_size = s->sz + s->pad_sz;
997 osh.sh_size = s->sz;
1187 osh.sh_size
[all...]
H A Dsymbols.c309 while (n < sh.sh_size && (d = elf_getdata(s, d)) != NULL) {
489 sc = ish.sh_size / ish.sh_entsize;
1110 shy.sh_size = sy->sz;
1124 sht.sh_size = st->sz;
/freebsd-13-stable/contrib/elftoolchain/libelf/
H A Delf_scn.c130 scn->s_size = scn->s_shdr.s_shdr32.sh_size;
134 scn->s_size = scn->s_shdr.s_shdr64.sh_size;
H A Dlibelf_ehdr.c81 e->e_u.e_elf.e_nscn = (size_t) GET_SHDR_MEMBER(sh_size);
/freebsd-13-stable/stand/i386/gptboot/
H A Dgptboot.c465 memcpy(p, &es[i].sh_size,
466 sizeof(es[i].sh_size));
467 p += sizeof(es[i].sh_size);
469 if (xfsread(ino, p, es[i].sh_size))
471 p += es[i].sh_size;
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h165 elf_xword sh_size; ///< Number of bytes occupied in the file. member in struct:elf::ELFSectionHeader
H A DObjectFileELF.cpp1377 const size_t sh_size = header.e_shnum * header.e_shentsize; local
1380 if (sh_data.SetData(object_data, sh_offset, sh_size) != sh_size)
1395 const size_t byte_size = sheader.sh_size;
1405 sheader.sh_type == SHT_NOBITS ? 0 : sheader.sh_size;
1692 addr_t Size = H.sh_flags & SHF_ALLOC ? H.sh_size : 0;
1810 header.sh_type == SHT_NOBITS ? 0 : header.sh_size;
2387 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize;
2407 plt_entsize = plt_hdr->sh_size / plt_hdr->sh_addralign /
2410 plt_entsize = plt_hdr->sh_size / (num_relocation
[all...]
H A DELFHeader.cpp108 e_shnum = section_zero.sh_size;
234 // Read sh_addr, sh_off and sh_size.
/freebsd-13-stable/sys/sys/
H A Delf32.h97 Elf32_Word sh_size; /* Size in bytes. */ member in struct:__anon15801
H A Delf64.h106 Elf64_Xword sh_size; /* Size in bytes. */ member in struct:__anon15819
/freebsd-13-stable/stand/i386/boot2/
H A Dboot2.c335 *(Elf32_Word *)p = es[i].sh_size;
336 p += sizeof(es[i].sh_size);
338 if (xfsread(ino, p, es[i].sh_size))
340 p += es[i].sh_size;
/freebsd-13-stable/contrib/file/src/
H A Dreadelf.h212 Elf32_Word sh_size; member in struct:__anon757
225 Elf64_Off sh_size; member in struct:__anon758
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h252 if (Shdr.sh_offset + Shdr.sh_size > getBufSize()) {
256 Twine::utohexstr(Shdr.sh_size) + ")");
259 return Elf_Note_Iterator(base() + Shdr.sh_offset, Shdr.sh_size, Err);
412 uintX_t Size = Sec->sh_size;
416 " has an invalid sh_size (" + Twine(Size) +
422 ") + sh_size (0x" + Twine::utohexstr(Size) +
427 ") + sh_size (0x" + Twine::utohexstr(Size) +
579 NumSections = First->sh_size;
583 "section's sh_size field (" +
592 "header's sh_size fiel
[all...]
H A DELFObjectFile.h738 return getSection(Sec)->sh_size;
749 (uintptr_t)base() + EShdr->sh_offset, EShdr->sh_size))
752 EShdr->sh_size);
867 RelData.d.b += S->sh_size / S->sh_entsize;
1031 DotSymtabSec && DotSymtabSec->sh_size >= sizeof(Elf_Sym) ? 1 : 0);
1040 DataRefImpl Sym = toDRI(SymTab, SymTab->sh_size / sizeof(Elf_Sym));
1046 if (!DotDynSymSec || DotDynSymSec->sh_size < sizeof(Elf_Sym))
1047 // Ignore errors here where the dynsym is empty or sh_size less than the
1059 DataRefImpl Sym = toDRI(SymTab, SymTab->sh_size / sizeof(Elf_Sym));
H A DELFTypes.h127 Elf_Word sh_size; // Size of section, in bytes member in struct:llvm::object::Elf_Shdr_Base
142 Elf_Xword sh_size; // Size of section, in bytes member in struct:llvm::object::Elf_Shdr_Base
152 using Elf_Shdr_Base<ELFT>::sh_size;
158 return sh_size / sh_entsize;
/freebsd-13-stable/contrib/elftoolchain/size/
H A Dsize.c717 tbl_print_num(shdr->sh_size, radix, 1);
719 text_size_total += shdr->sh_size;
766 text_size += shdr->sh_size;
770 data_size += shdr->sh_size;
772 bss_size += shdr->sh_size;
/freebsd-13-stable/sys/dev/ksyms/
H A Dksyms.c331 hdr->kh_shdr[SHDR_SYMTAB].sh_size = ts->ts_symsz;
344 hdr->kh_shdr[SHDR_STRTAB].sh_size = ts->ts_strsz;
358 hdr->kh_shdr[SHDR_SHSTRTAB].sh_size = sizeof(ksyms_shstrtab);
/freebsd-13-stable/lib/libpmcstat/
H A Dlibpmcstat_image.c80 nshsyms = sh->sh_size / sh->sh_entsize;
446 maxva = max(maxva, sh.sh_addr + sh.sh_size);
/freebsd-13-stable/contrib/libexecinfo/
H A Dsymtab.c127 ns = shdr.sh_size / shdr.sh_entsize;
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c206 nsyms = shdr->sh_size / shdr->sh_entsize;
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_module.c1232 if (sh.sh_size == 0)
1241 mapbase += sh.sh_size;
1245 dmp->dm_text_size = sh.sh_size;
1248 dmp->dm_data_size = sh.sh_size;
1251 dmp->dm_bss_size = sh.sh_size;
1256 MIN(sh.sh_size, sizeof (dmp->dm_info)));
/freebsd-13-stable/sys/kern/
H A Dlink_elf.c816 lf->exidx_size = shdr[i].sh_size;
1253 shdr[shstrindex].sh_size != 0) {
1254 nbytes = shdr[shstrindex].sh_size;
1273 lf->ctors_size = shdr[i].sh_size;
1279 symcnt = shdr[symtabindex].sh_size;
1281 strcnt = shdr[symstrindex].sh_size;
/freebsd-13-stable/sys/powerpc/powerpc/
H A Dmachdep.c594 ksym_sz = (vm_offset_t)(shdr[i].sh_size);
602 (shdr[shdr[i].sh_link].sh_size);
/freebsd-13-stable/usr.sbin/btxld/
H A Dbtxld.c434 eh.sh[2].sh_size = eh.p[0].p_filesz;
437 eh.sh[3].sh_size = eh.p[1].p_filesz;

Completed in 1478 milliseconds

1234