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

123

/external/elfutils/0.153/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.c203 update_if_changed (scn0->shdr.ELFW(e,LIBELFBITS)->sh_size,
313 > shdr->sh_size))
344 ? shdr->sh_size : 0));
379 update_if_changed (shdr->sh_size, (GElf_Word) offset,
391 && unlikely (shdr->sh_size % shdr->sh_entsize != 0)
409 e_shnum (or sh_size of the dummy, first section header)
H A Delf32_getshdr.c142 CONVERT_TO (shdr[cnt].sh_size, notcvt[cnt].sh_size);
188 CONVERT (shdr[cnt].sh_size);
H A Delf32_updatefile.c88 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_size
89 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_size)
92 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_size
93 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_size)
339 assert ((GElf_Off) dl->data.d.d_off <= shdr->sh_size);
340 assert (dl->data.d.d_size <= (shdr->sh_size
404 last_position = scn_start + shdr->sh_size;
778 last_offset = scn_start + shdr->sh_size;
H A Delf_begin.c178 + offset))->sh_size;
188 + offset))->sh_size,
193 + offsetof (Elf32_Shdr, sh_size))
227 + offset))->sh_size;
235 + offset))->sh_size,
240 + offsetof (Elf64_Shdr, sh_size))
341 <= elf->state.elf32.shdr[cnt].sh_size))
427 <= elf->state.elf64.shdr[cnt].sh_size))
/external/chromium_org/courgette/
H A Ddisassembler_elf_32_x86.cc86 size_t section_end = section_header->sh_offset + section_header->sh_size;
91 uint32 section_relocs_count = section_header->sh_size /
121 uint32 end_file_offset = start_file_offset + section_header->sh_size;
H A Ddisassembler_elf_32.cc113 uint32 section_end = section_header->sh_offset + section_header->sh_size;
196 Elf32_Off section_end = section_begin + section_header->sh_size;
275 file_offset = section_header->sh_offset + section_header->sh_size;
283 file_offset = section_header->sh_offset + section_header->sh_size;
293 (section_header->sh_offset + section_header->sh_size)) {
304 (section_header->sh_offset + section_header->sh_size))
331 size_t section_end = section_header->sh_offset + section_header->sh_size;
434 int relocs_table_count = section_header->sh_size /
469 offset < (section_header->sh_offset + section_header->sh_size)) {
H A Dtypes_elf.h65 Elf32_Word sh_size; member in struct:Elf32_Shdr
/external/libunwind/src/
H A Delfxx.c74 if (str_shdr->sh_offset + str_shdr->sh_size > ei->size)
77 (unsigned long) (str_shdr->sh_offset + str_shdr->sh_size),
116 symtab_end = (Elf_W (Sym) *) ((char *) symtab + shdr->sh_size);
244 if (shdr->sh_offset + shdr->sh_size > ei->size)
247 (unsigned long) shdr->sh_offset + shdr->sh_size,
255 compressed_len = shdr->sh_size;
/external/elfutils/0.153/libdwfl/
H A Ddwfl_report_elf.c136 end = prev_shdr->sh_addr + prev_shdr->sh_size;
147 end = shdr->sh_addr + shdr->sh_size;
155 if (first || end < shdr->sh_addr + shdr->sh_size)
156 end = shdr->sh_addr + shdr->sh_size;
H A Dderelocate.c141 newref->end = newref->start + shdr->sh_size;
148 && shdr->sh_size != 0
208 if (shdr->sh_size != 0
/external/llvm/include/llvm/Object/
H A DELF.h374 (const char *)(base() + sec->sh_offset + sec->sh_size));
384 (const char *)(base() + sec->sh_offset + sec->sh_size));
437 unsigned vd_size = sec->sh_size; // Size of section in bytes
462 unsigned vn_size = sec->sh_size; // Size of section in bytes
540 if (Sec->sh_offset + Sec->sh_size > Buf.size())
543 return ArrayRef<uint8_t>(Start, Sec->sh_size);
598 if (strtab[sh->sh_size - 1] != 0)
608 return SectionHeaderTable->sh_size;
679 DynSymRegion.Size = Sec.sh_size;
683 DynStrRegion.Size = DynStr->sh_size;
[all...]
/external/elfutils/0.153/src/
H A Delflint.c441 /* Get the header of the zeroth section. The sh_size field
448 if (shdr->sh_size == 0)
452 shnum = shdr->sh_size;
458 /* Get the header of the zeroth section. The sh_size field
673 for (size_t cnt = 1; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt)
686 else if (sym->st_name >= strshdr->sh_size)
773 if (sym->st_value - sh_addr > destshdr->sh_size)
791 + sym->st_size) > destshdr->sh_size)
810 if (sym->st_value > destshdr->sh_size)
816 > destshdr->sh_size)
[all...]
H A Dunstrip.c319 adjust the sh_size field in the debuginfo file's SHT_NOBITS
387 newshdr->sh_size = data->d_size;
409 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i)
420 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i)
446 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize;
447 const size_t onent = shdr->sh_size / shdr->sh_entsize;
448 assert (data->d_size == shdr->sh_size);
500 const size_t nent = symshdr->sh_size / symshdr->sh_entsize;
501 const size_t onent = shdr->sh_size / shdr->sh_entsize;
561 const size_t nsym = shdr->sh_size / shd
[all...]
H A Dsize.c472 digits - 2, shdr->sh_size,
475 total += shdr->sh_size;
526 printf (fmtstr, shdr->sh_size,
529 total += shdr->sh_size;
573 textsize += shdr->sh_size;
575 bsssize += shdr->sh_size;
577 datasize += shdr->sh_size;
H A Dfindtextrel.c291 for (size_t cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize;
436 (size_t) cnt < shdr->sh_size / shdr->sh_entsize;
459 (size_t) cnt < shdr->sh_size / shdr->sh_entsize;
552 for (int i = 0; (size_t) i < shdr->sh_size / shdr->sh_entsize;
/external/qemu/include/hw/
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/ltrace/
H A Dltrace-elf.c120 || data->d_off || data->d_size != shdr->sh_size)
156 && addr < shdr->sh_addr + shdr->sh_size;
435 *countp = shdr->sh_size / shdr->sh_entsize;
455 || shdr2.sh_size != data->d_size || data->d_off) {
509 if ((shdr->sh_size % shdr->sh_entsize) != 0) {
512 shdr->sh_size, shdr->sh_entsize);
516 GElf_Xword relplt_count = shdr->sh_size / shdr->sh_entsize;
555 for (j = 0; j < shdr.sh_size / shdr.sh_entsize; ++j) {
614 lte->dyn_sz = shdr.sh_size;
624 for (j = 0; j < shdr.sh_size / shd
[all...]
/external/valgrind/main/VEX/switchback/
H A Dlinker.c523 int nent = shdr[shnum].sh_size / sizeof(Elf_Rel);
649 int nent = shdr[shnum].sh_size / sizeof(Elf_Rela);
1008 if (debug_linker>1) fprintf(stderr, "size=%4d ", (int)shdr[i].sh_size );
1012 ehdrC + shdr[i].sh_offset + shdr[i].sh_size - 1);
1056 nent = shdr[i].sh_size / sizeof(Elf_Sym);
1060 (Long)(shdr[i].sh_size % sizeof(Elf_Sym))
1062 if (0 != shdr[i].sh_size % sizeof(Elf_Sym)) {
1168 if (is_bss && shdr[i].sh_size > 0) {
1172 char* zspace = calloc(1, shdr[i].sh_size);
1176 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/0.153/backends/
H A Dppc_symbol.c95 for (unsigned int j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j)
/external/elfutils/0.153/libasm/
H A Ddisasm_cb.c93 int nsyms = shdr->sh_size / shdr->sh_entsize;

Completed in 467 milliseconds

123