/external/valgrind/main/perf/ |
H A D | tinycc.c | 306 Elf32_Off sh_offset; /* Section file offset */ member in struct:__anon33281 320 Elf64_Off sh_offset; /* Section file offset */ member in struct:__anon33282 2210 unsigned long sh_offset; /* address at which the section is relocated */ 19200 while (offset < s->sh_offset) { 19547 s->sh_offset = file_offset; 19589 ph->p_offset = interp->sh_offset; 19605 ph->p_offset = dynamic->sh_offset; 19690 s->sh_offset = file_offset; 19795 while (offset < s->sh_offset) { 19825 sh->sh_offset 2208 unsigned long sh_offset; /* address at which the section is relocated */ member in struct:Section [all...] |
/external/valgrind/main/VEX/switchback/ |
H A D | linker.c | 400 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 D | linker.c | 332 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/valgrind/main/coregrind/m_debuginfo/ |
H A D | readelf.c | 1066 ElfXX_Off note_ioff = shdr.sh_offset; 1068 while (note_ioff < shdr.sh_offset + shdr.sh_size) { 1576 = ehdr_mioff /* isn't this always zero? */ + a_shdr.sh_offset; 1778 OffT foff = a_shdr.sh_offset; 2271 _sec_escn.ioff = (DiOffT)a_shdr.sh_offset; \ 2280 if ( a_shdr.sh_offset \ 2459 shdr_strtab_dioff = a_shdr.sh_offset; 2569 _sec_escn.ioff = (DiOffT)a_shdr.sh_offset; \ 2579 if (a_shdr.sh_offset \ 2679 shdr_strtab_aioff = a_shdr.sh_offset; [all...] |
/external/qemu/include/ |
H A D | elf.h | 1356 Elf32_Off sh_offset; member in struct:elf32_shdr 1369 Elf64_Off sh_offset; /* Section file offset */ member in struct:elf64_shdr
|
/external/qemu/include/hw/ |
H A D | elf_ops.h | 36 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/qemu/tcg/ |
H A D | tcg.c | 2803 .sh_offset = offsetof(struct ElfImage, di), 2808 .sh_offset = offsetof(struct ElfImage, da), 2813 .sh_offset = sizeof(struct ElfImage), 2817 .sh_offset = offsetof(struct ElfImage, sym), 2825 .sh_offset = offsetof(struct ElfImage, str),
|
/external/llvm/test/tools/llvm-readobj/Inputs/ |
H A D | relocs.py | 168 self.sh_offset = f.word() 183 f.seek(self.sh_offset + index * self.sh_entsize) 302 f.seek(sections[e_shstrndx].sh_offset) 308 f.seek(section.sh_offset)
|
/external/llvm/tools/llvm-readobj/ |
H A D | ARMEHABIPrinter.h | 541 SW.printHex("SectionOffset", IT->sh_offset);
|
H A D | ELFDumper.cpp | 584 W.printHex ("Offset", Section->sh_offset);
|
/external/llvm/tools/yaml2obj/ |
H A D | yaml2elf.cpp | 270 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/llvm/include/llvm/Object/ |
H A D | ELF.h | 368 (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...] |
H A D | ELFObjectFile.h | 408 Result = StringRef((const char *)base() + EShdr->sh_offset, EShdr->sh_size);
|
H A D | ELFTypes.h | 116 Elf_Off sh_offset; // File offset of section data, in bytes member in struct:llvm::object::Elf_Shdr_Base 131 Elf_Off sh_offset; // File offset of section data, in bytes member in struct:llvm::object::Elf_Shdr_Base
|
/external/llvm/include/llvm/Support/ |
H A D | ELF.h | 1224 Elf32_Off sh_offset; // File offset of section data, in bytes member in struct:llvm::ELF::Elf32_Shdr 1238 Elf64_Off sh_offset; member in struct:llvm::ELF::Elf64_Shdr
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | symbol-elf.c | 253 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;
|
H A D | unwind.c | 187 offset = shdr.sh_offset;
|
/external/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.h | 159 elf_off sh_offset; ///< Start of section from beginning of file. member in struct:elf::ELFSectionHeader
|
H A D | ObjectFileELF.cpp | 739 const elf_off sh_offset = header.e_shoff; local 741 if (sh_data.SetData (object_data, sh_offset, sh_size) != sh_size) 759 const Elf64_Off offset = sheader.sh_offset; 777 if (section_size && (data.SetData (object_data, header.sh_offset, section_size) == section_size)) 789 if (section_size && (data.SetData (object_data, header.sh_offset, section_size) == section_size)) 958 header.sh_offset, // Offset of this section in the file. 1710 s->Printf(") %8.8" PRIx64 " %8.8" PRIx64 " %8.8" PRIx64, sh.sh_addr, sh.sh_offset, sh.sh_size);
|
/external/libvpx/libvpx/build/make/ |
H A D | obj_int_extract.c | 311 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/libunwind/src/dwarf/ |
H A D | Gfind_proc_info-lsb.c | 129 fseek (f, sec_hdrs[shstrndx].sh_offset, SEEK_SET); 142 fseek (f, sec_hdrs[i].sh_offset, SEEK_SET); 147 *bufsize, sec_hdrs[i].sh_offset); 154 fseek (f, sec_hdrs[i].sh_offset, SEEK_SET); 159 linksize, sec_hdrs[i].sh_offset);
|
/external/libunwind/src/ |
H A D | elfxx.c | 74 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/libunwind/src/ia64/ |
H A D | Gfind_unwind_table.c | 77 strtab = (char *) edi->ei.image + str_shdr->sh_offset; 83 gp = ((Elf64_Addr *) ((char *) edi->ei.image + shdr->sh_offset))[1];
|
/external/kernel-headers/original/uapi/linux/ |
H A D | elf.h | 304 Elf32_Off sh_offset; member in struct:elf32_shdr 317 Elf64_Off sh_offset; /* Section file offset */ member in struct:elf64_shdr
|
/external/icu/icu4c/source/tools/toolutil/ |
H A D | pkg_genc.c | 808 (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)), /* sh_offset */ 821 (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)), /* sh_offset */ 833 (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)+40), /* sh_offset */ 845 (Elf32_Off)(sizeof(header32)+sizeof(sectionHeaders32)+2*sizeof(Elf32_Sym)+40+sizeof(entry)), /* sh_offset */ 925 (Elf64_Off)(sizeof(header64)+sizeof(sectionHeaders64)), /* sh_offset */ 938 (Elf64_Off)(sizeof(header64)+sizeof(sectionHeaders64)+2*sizeof(Elf64_Sym)), /* sh_offset */ 950 (Elf64_Off)(sizeof(header64)+sizeof(sectionHeaders64)+2*sizeof(Elf64_Sym)+40), /* sh_offset */ 962 (Elf64_Off)(sizeof(header64)+sizeof(sectionHeaders64)+2*sizeof(Elf64_Sym)+40+sizeof(entry)), /* sh_offset */ 1069 paddingSize=sectionHeaders32[4].sh_offset & 0xf; 1072 sectionHeaders32[4].sh_offset [all...] |