Searched refs:sh_offset (Results 1 - 25 of 52) sorted by relevance

123

/external/chromium_org/courgette/
H A Ddisassembler_elf_32_x86.cc85 size_t file_offset = section_header->sh_offset;
86 size_t section_end = section_header->sh_offset + section_header->sh_size;
89 (Elf32_Rel *)OffsetToPointer(section_header->sh_offset);
120 uint32 start_file_offset = section_header->sh_offset;
H A Ddisassembler_elf_32.cc113 uint32 section_end = section_header->sh_offset + section_header->sh_size;
195 Elf32_Off section_begin = section_header->sh_offset;
266 section_header->sh_offset,
269 file_offset = section_header->sh_offset;
275 file_offset = section_header->sh_offset + section_header->sh_size;
283 file_offset = section_header->sh_offset + section_header->sh_size;
291 *current_abs_offset >= section_header->sh_offset &&
293 (section_header->sh_offset + section_header->sh_size)) {
302 *current_abs_offset >= section_header->sh_offset &&
304 (section_header->sh_offset
[all...]
H A Dtypes_elf.h64 Elf32_Off sh_offset; member in struct:Elf32_Shdr
H A Ddisassembler_elf_32_arm.cc318 size_t file_offset = section_header->sh_offset;
319 size_t section_end = section_header->sh_offset + section_header->sh_size;
322 (Elf32_Rel *)OffsetToPointer(section_header->sh_offset);
368 uint32 start_file_offset = section_header->sh_offset;
H A Ddisassembler_elf_32.h113 return OffsetToPointer(SectionHeader(id)->sh_offset);
/external/elfutils/0.153/libelf/
H A Dgelf_update_shdr.c86 || unlikely (src->sh_offset > 0xffffffffull)
101 COPY (sh_offset);
H A Delf32_offscn.c97 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_offset == offset)
102 sh_offset. We presume the caller is looking for a nonempty
H A Dgelf_getshdr.c97 COPY (sh_offset);
H A Delf32_getshdr.c141 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset);
187 CONVERT (shdr[cnt].sh_offset);
H A Delf32_updatefile.c80 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset
81 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset)
84 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset
85 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset)
277 + scn->shdr.ELFW(e,LIBELFBITS)->sh_offset)
310 + elf->start_offset + shdr->sh_offset);
684 off_t scn_start = elf->start_offset + shdr->sh_offset;
H A Delf32_updatenull.c342 shdr->sh_offset
366 update_if_changed (shdr->sh_offset, (GElf_Word) size,
/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),
82 Debug (16, "strtab=0x%lx\n", (long) str_shdr->sh_offset);
84 return (char*) ((uintptr_t) ei->image + str_shdr->sh_offset);
115 symtab = (Elf_W (Sym) *) ((char *) ei->image + shdr->sh_offset);
124 (long) shdr->sh_offset, shdr->sh_type);
244 if (shdr->sh_offset + shdr->sh_size > ei->size)
247 (unsigned long) shdr->sh_offset + shdr->sh_size,
253 (unsigned long) shdr->sh_offset);
254 compressed = ((uint8_t *) ei->image) + shdr->sh_offset;
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/build/make/
H A Dobj_int_extract.c311 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_offset);
327 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_offset);
350 return (char *)(elf->buf + shdr.sh_offset + idx);
360 return (char *)(elf->buf + shdr.sh_offset + idx);
410 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name));
414 strtab_off32 = shdr.sh_offset;
427 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name));
431 strtab_off64 = shdr.sh_offset;
445 for (ofst = shdr.sh_offset;
446 ofst < shdr.sh_offset
[all...]
/external/libvpx/libvpx/build/make/
H A Dobj_int_extract.c311 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_offset);
327 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_offset);
350 return (char *)(elf->buf + shdr.sh_offset + idx);
360 return (char *)(elf->buf + shdr.sh_offset + idx);
410 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name));
414 strtab_off32 = shdr.sh_offset;
427 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name));
431 strtab_off64 = shdr.sh_offset;
445 for (ofst = shdr.sh_offset;
446 ofst < shdr.sh_offset
[all...]
/external/llvm/include/llvm/Object/
H A DELF.h368 (const char *)(base() + sec->sh_offset));
374 (const char *)(base() + sec->sh_offset + sec->sh_size));
379 (const char *)(base() + sec->sh_offset));
384 (const char *)(base() + sec->sh_offset + sec->sh_size));
439 const char *sec_start = (const char*)base() + sec->sh_offset;
464 const char *sec_start = (const char *)base() + sec->sh_offset;
540 if (Sec->sh_offset + Sec->sh_size > Buf.size())
542 const uint8_t *Start = base() + Sec->sh_offset;
597 const char *strtab = (const char *)base() + sh->sh_offset;
678 DynSymRegion.Addr = base() + Sec.sh_offset;
[all...]
/external/valgrind/main/VEX/switchback/
H A Dlinker.c400 char* sh_strtab = ehdrC + shdr[ehdr->e_shstrndx].sh_offset;
412 ptr = ehdrC + shdr[i].sh_offset;
522 Elf_Rel* rtab = (Elf_Rel*) (ehdrC + shdr[shnum].sh_offset);
527 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset);
528 targ = (Elf_Word*)(ehdrC + shdr[ target_shndx ].sh_offset);
555 (ehdrC + shdr[ sym.st_shndx ].sh_offset
648 Elf_Rela* rtab = (Elf_Rela*) (ehdrC + shdr[shnum].sh_offset);
653 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset);
654 targ = (Elf_Addr) (ehdrC + shdr[ target_shndx ].sh_offset);
701 (ehdrC + shdr[ sym.st_shndx ].sh_offset
[all...]
/external/valgrind/main/VEX/unused/
H A Dlinker.c332 char* sh_strtab = ehdrC + shdr[ehdr->e_shstrndx].sh_offset;
344 ptr = ehdrC + shdr[i].sh_offset;
426 Elf_Rel* rtab = (Elf_Rel*) (ehdrC + shdr[shnum].sh_offset);
431 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset);
432 targ = (Elf_Word*)(ehdrC + shdr[ target_shndx ].sh_offset);
459 (ehdrC + shdr[ sym.st_shndx ].sh_offset
552 Elf_Rela* rtab = (Elf_Rela*) (ehdrC + shdr[shnum].sh_offset);
557 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset);
558 targ = (Elf_Addr) (ehdrC + shdr[ target_shndx ].sh_offset);
594 (ehdrC + shdr[ sym.st_shndx ].sh_offset
[all...]
/external/chromium_org/tools/relocation_packer/src/
H A Delf_file.cc124 VLOG(1) << " sh_offset = " << section_header->sh_offset;
235 if (section_header->sh_offset == dynamic_program_header->p_offset) {
312 if (section_header->sh_offset > hole_start) {
313 section_header->sh_offset += hole_size;
315 << " sh_offset adjusted to " << section_header->sh_offset;
430 ELF::Off offset = section_header->sh_offset;
431 if (section_header->sh_offset >= hole_start) {
467 ELF::Off offset = section_header->sh_offset;
[all...]
/external/libunwind/src/ia64/
H A DGfind_unwind_table.c77 strtab = (char *) edi->ei.image + str_shdr->sh_offset;
83 gp = ((Elf64_Addr *) ((char *) edi->ei.image + shdr->sh_offset))[1];
/external/qemu/include/hw/
H A Delf_ops.h36 bswapSZs(&shdr->sh_offset);
123 syms = load_at(fd, symtab->sh_offset, symtab->sh_size);
159 str = load_at(fd, strtab->sh_offset, strtab->sh_size);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dsymbol-elf.c253 plt_offset = shdr_plt.sh_offset;
831 sym.st_value -= shdr.sh_addr - shdr.sh_offset;
849 map->pgoff = shdr.sh_offset;
864 map->pgoff = shdr.sh_offset;
883 start += map->start + shdr.sh_offset;
902 curr_map->pgoff = shdr.sh_offset;
920 "sh_addr: %#" PRIx64 " sh_offset: %#" PRIx64 "\n", __func__,
922 (u64)shdr.sh_offset);
923 sym.st_value -= shdr.sh_addr - shdr.sh_offset;
/external/chromium_org/base/third_party/symbolize/
H A Dsymbolize.cc200 GetSectionHeaderByType(const int fd, ElfW(Half) sh_num, const off_t sh_offset, argument
209 sh_offset + i * sizeof(buf[0]));
256 off_t name_offset = shstrtab.sh_offset + out->sh_name;
286 off_t offset = symtab->sh_offset + i * symtab->sh_entsize;
312 strtab->sh_offset + symbol.st_name);
/external/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h159 elf_off sh_offset; ///< Start of section from beginning of file. member in struct:elf::ELFSectionHeader
/external/llvm/tools/yaml2obj/
H A Dyaml2elf.cpp270 writeArrayData(CBA.getOSAndAlignedOffset(SHeader.sh_offset),
282 CBA.getOSAndAlignedOffset(SHeader.sh_offset) << STB.data();
320 raw_ostream &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset);
343 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset);
/external/chromium_org/third_party/libvpx/include/
H A Delf.h333 Elf32_Off sh_offset; member in struct:elf32_shdr
348 Elf64_Off sh_offset; member in struct:elf64_shdr

Completed in 1878 milliseconds

123