Searched refs:sh_size (Results 1 - 25 of 58) sorted by relevance

123

/external/elfutils/libelf/
H A Dgelf_update_shdr.c87 || unlikely (src->sh_size > 0xffffffffull)
102 COPY (sh_size);
H A Delf_strptr.c119 if (unlikely (offset >= strscn->shdr.e32->sh_size))
135 if (unlikely (offset >= strscn->shdr.e64->sh_size))
H A Delf32_offscn.c104 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_size != 0)
H A Dgelf_getshdr.c98 COPY (sh_size);
H A Delf32_updatenull.c199 update_if_changed (scn0->shdr.ELFW(e,LIBELFBITS)->sh_size,
309 > shdr->sh_size))
340 ? shdr->sh_size : 0));
375 update_if_changed (shdr->sh_size, (GElf_Word) offset,
387 && unlikely (shdr->sh_size % shdr->sh_entsize != 0)
H A Delf32_getshdr.c142 CONVERT_TO (shdr[cnt].sh_size, notcvt[cnt].sh_size);
188 CONVERT (shdr[cnt].sh_size);
/external/llvm/test/Scripts/
H A Delf-dump62 self.sh_size = f.readWord()
74 print " ('sh_size', %s)" % common_dump.HexDump(self.sh_size)
90 data = f.read(self.sh_size[0])
97 entries = section.sh_size[0] // section.sh_entsize[0]
120 entries = section.sh_size[0] // section.sh_entsize[0]
215 shstrtab = StringTable(f.read(sections[e_shstrndx[0]].sh_size[0]))
222 strtab = StringTable(f.read(section.sh_size[0]))
/external/elfutils/libdwfl/
H A Ddwfl_report_elf.c134 end = prev_shdr->sh_addr + prev_shdr->sh_size;
145 end = shdr->sh_addr + shdr->sh_size;
153 if (first || end < shdr->sh_addr + shdr->sh_size)
154 end = shdr->sh_addr + shdr->sh_size;
H A Dderelocate.c137 newref->end = newref->start + shdr->sh_size;
144 && shdr->sh_size != 0
204 if (shdr->sh_size != 0
H A Ddwfl_module_addrsym.c83 && mod_addr < shdr->sh_addr + shdr->sh_size)
/external/elfutils/src/
H A Delflint.c440 /* Get the header of the zeroth section. The sh_size field
447 if (shdr->sh_size == 0)
451 shnum = shdr->sh_size;
457 /* Get the header of the zeroth section. The sh_size field
654 for (size_t cnt = 1; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt)
667 else if (sym->st_name >= strshdr->sh_size)
746 if (sym->st_value - sh_addr > destshdr->sh_size)
764 + sym->st_size) > destshdr->sh_size)
783 if (sym->st_value > destshdr->sh_size)
789 > destshdr->sh_size)
[all...]
H A Dunstrip.c319 adjust the sh_size field in the debuginfo file's SHT_NOBITS
380 newshdr->sh_size = data->d_size;
403 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i)
414 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i)
441 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize;
442 const size_t onent = shdr->sh_size / shdr->sh_entsize;
443 assert (data->d_size == shdr->sh_size);
495 const size_t nent = symshdr->sh_size / symshdr->sh_entsize;
496 const size_t onent = shdr->sh_size / shdr->sh_entsize;
556 const size_t nsym = shdr->sh_size / shd
[all...]
H A Dsize.c465 digits - 2, shdr->sh_size,
468 total += shdr->sh_size;
519 printf (fmtstr, shdr->sh_size,
522 total += shdr->sh_size;
566 textsize += shdr->sh_size;
568 bsssize += shdr->sh_size;
570 datasize += shdr->sh_size;
H A Delfcmp.c235 newp->to = shdr1->sh_offset + shdr1->sh_size;
265 || shdr1->sh_size != shdr2->sh_size
290 for (int ndx = 0; ndx < (int) (shdr1->sh_size / shdr1->sh_entsize);
614 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize);
628 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize);
H A Dfindtextrel.c281 for (size_t cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize;
420 (size_t) cnt < shdr->sh_size / shdr->sh_entsize;
443 (size_t) cnt < shdr->sh_size / shdr->sh_entsize;
536 for (int i = 0; (size_t) i < shdr->sh_size / shdr->sh_entsize;
/external/elfutils/tests/
H A Dasm-tst1.c220 if ((cnt != 3 && shdr->sh_size != 0)
221 || (cnt == 3 && shdr->sh_size != 23))
H A Dasm-tst2.c240 if ((cnt == 1 && shdr->sh_size != (strlen ("one") + 1
243 || (cnt == 2 && shdr->sh_size != 17))
H A Dasm-tst7.c130 for (cnt = 1; cnt< (shdr->sh_size
H A Dasm-tst8.c131 for (cnt = 1; cnt< (shdr->sh_size
/external/qemu/
H A Delf_ops.h37 bswapSZs(&shdr->sh_size);
123 syms = load_at(fd, symtab->sh_offset, symtab->sh_size);
127 nsyms = symtab->sh_size / sizeof(struct elf_sym);
159 str = load_at(fd, strtab->sh_offset, strtab->sh_size);
/external/valgrind/main/VEX/switchback/
H A Dlinker.c521 int nent = shdr[shnum].sh_size / sizeof(Elf_Rel);
647 int nent = shdr[shnum].sh_size / sizeof(Elf_Rela);
1006 if (debug_linker>1) fprintf(stderr, "size=%4d ", (int)shdr[i].sh_size );
1010 ehdrC + shdr[i].sh_offset + shdr[i].sh_size - 1);
1054 nent = shdr[i].sh_size / sizeof(Elf_Sym);
1058 (Long)(shdr[i].sh_size % sizeof(Elf_Sym))
1060 if (0 != shdr[i].sh_size % sizeof(Elf_Sym)) {
1166 if (is_bss && shdr[i].sh_size > 0) {
1170 char* zspace = calloc(1, shdr[i].sh_size);
1174 zspace, (Long)shdr[i].sh_size);
[all...]
/external/valgrind/main/VEX/unused/
H A Dlinker.c427 int nent = shdr[shnum].sh_size / sizeof(Elf_Rel);
553 int nent = shdr[shnum].sh_size / sizeof(Elf_Rela);
845 if (debug_linker>1) fprintf(stderr, "size=%4d ", (int)shdr[i].sh_size );
849 ehdrC + shdr[i].sh_offset + shdr[i].sh_size - 1);
893 nent = shdr[i].sh_size / sizeof(Elf_Sym);
897 shdr[i].sh_size % sizeof(Elf_Sym)
899 if (0 != shdr[i].sh_size % sizeof(Elf_Sym)) {
1005 if (is_bss && shdr[i].sh_size > 0) {
1009 char* zspace = calloc(1, shdr[i].sh_size);
1013 zspace, shdr[i].sh_size);
[all...]
/external/elfutils/backends/
H A Dppc_symbol.c95 for (unsigned int j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j)
/external/elfutils/libasm/
H A Ddisasm_cb.c93 int nsyms = shdr->sh_size / shdr->sh_entsize;
/external/qemu/elff/
H A Delff_elf.h224 Elf_Word sh_size; member in struct:Elf_SHdr

Completed in 277 milliseconds

123