/freebsd-13-stable/contrib/elftoolchain/elfcopy/ |
H A D | binary.c | 79 sh.sh_size == 0) 105 sh.sh_size == 0)
|
H A D | sections.c | 411 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 D | symbols.c | 309 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 D | elf_scn.c | 130 scn->s_size = scn->s_shdr.s_shdr32.sh_size; 134 scn->s_size = scn->s_shdr.s_shdr64.sh_size;
|
H A D | libelf_ehdr.c | 81 e->e_u.e_elf.e_nscn = (size_t) GET_SHDR_MEMBER(sh_size);
|
/freebsd-13-stable/stand/i386/gptboot/ |
H A D | gptboot.c | 465 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 D | ELFHeader.h | 165 elf_xword sh_size; ///< Number of bytes occupied in the file. member in struct:elf::ELFSectionHeader
|
H A D | ObjectFileELF.cpp | 1377 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 D | ELFHeader.cpp | 108 e_shnum = section_zero.sh_size; 234 // Read sh_addr, sh_off and sh_size.
|
/freebsd-13-stable/sys/sys/ |
H A D | elf32.h | 97 Elf32_Word sh_size; /* Size in bytes. */ member in struct:__anon15801
|
H A D | elf64.h | 106 Elf64_Xword sh_size; /* Size in bytes. */ member in struct:__anon15819
|
/freebsd-13-stable/stand/i386/boot2/ |
H A D | boot2.c | 335 *(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 D | readelf.h | 212 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 D | ELF.h | 252 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 D | ELFObjectFile.h | 738 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 D | ELFTypes.h | 127 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 D | size.c | 717 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 D | ksyms.c | 331 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 D | libpmcstat_image.c | 80 nshsyms = sh->sh_size / sh->sh_entsize; 446 maxva = max(maxva, sh.sh_addr + sh.sh_size);
|
/freebsd-13-stable/contrib/libexecinfo/ |
H A D | symtab.c | 127 ns = shdr.sh_size / shdr.sh_entsize;
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/lockstat/ |
H A D | sym.c | 206 nsyms = shdr->sh_size / shdr->sh_entsize;
|
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_module.c | 1232 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 D | link_elf.c | 816 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 D | machdep.c | 594 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 D | btxld.c | 434 eh.sh[2].sh_size = eh.p[0].p_filesz; 437 eh.sh[3].sh_size = eh.p[1].p_filesz;
|