/external/chromium_org/courgette/ |
D | disassembler_elf_32.cc | 113 uint32 section_end = section_header->sh_offset + section_header->sh_size; in DiscoverLength() 195 Elf32_Off section_begin = section_header->sh_offset; in FileOffsetToRVA() 266 section_header->sh_offset, in ParseFile() 269 file_offset = section_header->sh_offset; in ParseFile() 275 file_offset = section_header->sh_offset + section_header->sh_size; in ParseFile() 283 file_offset = section_header->sh_offset + section_header->sh_size; in ParseFile() 291 *current_abs_offset >= section_header->sh_offset && in ParseFile() 293 (section_header->sh_offset + section_header->sh_size)) { in ParseFile() 302 *current_abs_offset >= section_header->sh_offset && in ParseFile() 304 (section_header->sh_offset + section_header->sh_size)) in ParseFile() [all …]
|
D | disassembler_elf_32_x86.cc | 85 size_t file_offset = section_header->sh_offset; in ParseRelocationSection() 86 size_t section_end = section_header->sh_offset + section_header->sh_size; in ParseRelocationSection() 89 (Elf32_Rel *)OffsetToPointer(section_header->sh_offset); in ParseRelocationSection() 120 uint32 start_file_offset = section_header->sh_offset; in ParseRel32RelocsFromSection()
|
D | disassembler_elf_32_arm.cc | 318 size_t file_offset = section_header->sh_offset; in ParseRelocationSection() 319 size_t section_end = section_header->sh_offset + section_header->sh_size; in ParseRelocationSection() 322 (Elf32_Rel *)OffsetToPointer(section_header->sh_offset); in ParseRelocationSection() 368 uint32 start_file_offset = section_header->sh_offset; in ParseRel32RelocsFromSection()
|
D | types_elf.h | 64 Elf32_Off sh_offset; member
|
/external/libunwind/src/ |
D | elfxx.c | 74 if (str_shdr->sh_offset + str_shdr->sh_size > ei->size) in elf_w() 77 (unsigned long) (str_shdr->sh_offset + str_shdr->sh_size), in elf_w() 82 Debug (16, "strtab=0x%lx\n", (long) str_shdr->sh_offset); in elf_w() 84 return (char*) ((uintptr_t) ei->image + str_shdr->sh_offset); in elf_w() 115 symtab = (Elf_W (Sym) *) ((char *) ei->image + shdr->sh_offset); in elf_w() 124 (long) shdr->sh_offset, shdr->sh_type); in elf_w() 244 if (shdr->sh_offset + shdr->sh_size > ei->size) in elf_w() 247 (unsigned long) shdr->sh_offset + shdr->sh_size, in elf_w() 253 (unsigned long) shdr->sh_offset); in elf_w() 254 compressed = ((uint8_t *) ei->image) + shdr->sh_offset; in elf_w()
|
/external/valgrind/main/VEX/unused/ |
D | linker.c | 332 char* sh_strtab = ehdrC + shdr[ehdr->e_shstrndx].sh_offset; in findElfSection() 344 ptr = ehdrC + shdr[i].sh_offset; in findElfSection() 426 Elf_Rel* rtab = (Elf_Rel*) (ehdrC + shdr[shnum].sh_offset); in do_Elf_Rel_relocations() 431 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset); in do_Elf_Rel_relocations() 432 targ = (Elf_Word*)(ehdrC + shdr[ target_shndx ].sh_offset); in do_Elf_Rel_relocations() 459 (ehdrC + shdr[ sym.st_shndx ].sh_offset in do_Elf_Rel_relocations() 552 Elf_Rela* rtab = (Elf_Rela*) (ehdrC + shdr[shnum].sh_offset); in do_Elf_Rela_relocations() 557 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset); in do_Elf_Rela_relocations() 558 targ = (Elf_Addr) (ehdrC + shdr[ target_shndx ].sh_offset); in do_Elf_Rela_relocations() 594 (ehdrC + shdr[ sym.st_shndx ].sh_offset in do_Elf_Rela_relocations() [all …]
|
/external/libvpx/libvpx/build/make/ |
D | obj_int_extract.c | 311 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_offset); in parse_elf_section() 327 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_offset); in parse_elf_section() 350 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf_string_table() 360 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf_string_table() 410 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name)); in parse_elf() 414 strtab_off32 = shdr.sh_offset; in parse_elf() 427 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name)); in parse_elf() 431 strtab_off64 = shdr.sh_offset; in parse_elf() 445 for (ofst = shdr.sh_offset; in parse_elf() 446 ofst < shdr.sh_offset + shdr.sh_size; in parse_elf() [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/build/make/ |
D | obj_int_extract.c | 311 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_offset); in parse_elf_section() 327 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_offset); in parse_elf_section() 350 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf_string_table() 360 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf_string_table() 410 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name)); in parse_elf() 414 strtab_off32 = shdr.sh_offset; in parse_elf() 427 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name)); in parse_elf() 431 strtab_off64 = shdr.sh_offset; in parse_elf() 445 for (ofst = shdr.sh_offset; in parse_elf() 446 ofst < shdr.sh_offset + shdr.sh_size; in parse_elf() [all …]
|
/external/valgrind/main/VEX/switchback/ |
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/llvm/include/llvm/Object/ |
D | ELF.h | 368 (const char *)(base() + sec->sh_offset)); in begin_rela() 374 (const char *)(base() + sec->sh_offset + sec->sh_size)); in end_rela() 379 (const char *)(base() + sec->sh_offset)); in begin_rel() 384 (const char *)(base() + sec->sh_offset + sec->sh_size)); in end_rel() 439 const char *sec_start = (const char*)base() + sec->sh_offset; in LoadVersionDefs() 464 const char *sec_start = (const char *)base() + sec->sh_offset; in LoadVersionNeeds() 540 if (Sec->sh_offset + Sec->sh_size > Buf.size()) in getSectionContents() 542 const uint8_t *Start = base() + Sec->sh_offset; in getSectionContents() 597 const char *strtab = (const char *)base() + sh->sh_offset; in VerifyStrTab() 678 DynSymRegion.Addr = base() + Sec.sh_offset; in ELFFile() [all …]
|
/external/chromium_org/tools/relocation_packer/src/ |
D | elf_file.cc | 124 VLOG(1) << " sh_offset = " << section_header->sh_offset; in VerboseLogSectionHeader() 235 if (section_header->sh_offset == dynamic_program_header->p_offset) { in Load() 312 if (section_header->sh_offset > hole_start) { in AdjustSectionHeadersForHole() 313 section_header->sh_offset += hole_size; in AdjustSectionHeadersForHole() 315 << " sh_offset adjusted to " << section_header->sh_offset; in AdjustSectionHeadersForHole() 430 ELF::Off offset = section_header->sh_offset; in FindSectionContainingHole() 431 if (section_header->sh_offset >= hole_start) { in FindSectionContainingHole() 467 ELF::Off offset = section_header->sh_offset; in FindLastSectionInSegment() 468 if (section_header->sh_offset >= hole_start) { in FindLastSectionInSegment() 603 spliced_header->p_filesz = split_section_header->sh_offset; in SplitProgramHeadersForHole() [all …]
|
/external/elfutils/0.153/libelf/ |
D | gelf_update_shdr.c | 86 || unlikely (src->sh_offset > 0xffffffffull) in gelf_update_shdr() 101 COPY (sh_offset); in gelf_update_shdr()
|
D | elf32_updatefile.c | 80 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset in compare_sections() 81 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset) in compare_sections() 84 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset in compare_sections() 85 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset) in compare_sections() 277 + scn->shdr.ELFW(e,LIBELFBITS)->sh_offset) in __elfw2() 310 + elf->start_offset + shdr->sh_offset); in __elfw2() 684 off_t scn_start = elf->start_offset + shdr->sh_offset; in __elfw2()
|
D | elf32_getshdr.c | 141 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset); in ElfW2() 187 CONVERT (shdr[cnt].sh_offset); in ElfW2()
|
D | gelf_getshdr.c | 97 COPY (sh_offset);
|
D | elf32_offscn.c | 97 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_offset == offset)
|
D | elf_begin.c | 339 if (likely (elf->state.elf32.shdr[cnt].sh_offset < maxsize) in file_read_elf() 340 && likely (maxsize - elf->state.elf32.shdr[cnt].sh_offset in file_read_elf() 345 + elf->state.elf32.shdr[cnt].sh_offset); in file_read_elf() 425 if (likely (elf->state.elf64.shdr[cnt].sh_offset < maxsize) in file_read_elf() 426 && likely (maxsize - elf->state.elf64.shdr[cnt].sh_offset in file_read_elf() 431 + elf->state.elf64.shdr[cnt].sh_offset); in file_read_elf()
|
/external/libunwind/src/ia64/ |
D | Gfind_unwind_table.c | 77 strtab = (char *) edi->ei.image + str_shdr->sh_offset; in find_gp() 83 gp = ((Elf64_Addr *) ((char *) edi->ei.image + shdr->sh_offset))[1]; in find_gp()
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | symbol-elf.c | 253 plt_offset = shdr_plt.sh_offset; in dso__synthesize_plt_symbols() 831 sym.st_value -= shdr.sh_addr - shdr.sh_offset; in dso__load_sym() 849 map->pgoff = shdr.sh_offset; in dso__load_sym() 864 map->pgoff = shdr.sh_offset; in dso__load_sym() 883 start += map->start + shdr.sh_offset; in dso__load_sym() 902 curr_map->pgoff = shdr.sh_offset; in dso__load_sym() 922 (u64)shdr.sh_offset); in dso__load_sym() 923 sym.st_value -= shdr.sh_addr - shdr.sh_offset; in dso__load_sym()
|
/external/chromium_org/base/third_party/symbolize/ |
D | symbolize.cc | 200 GetSectionHeaderByType(const int fd, ElfW(Half) sh_num, const off_t sh_offset, in GetSectionHeaderByType() argument 209 sh_offset + i * sizeof(buf[0])); in GetSectionHeaderByType() 256 off_t name_offset = shstrtab.sh_offset + out->sh_name; in GetSectionHeaderByName() 286 off_t offset = symtab->sh_offset + i * symtab->sh_entsize; in FindSymbol() 312 strtab->sh_offset + symbol.st_name); in FindSymbol()
|
/external/qemu/include/hw/ |
D | elf_ops.h | 36 bswapSZs(&shdr->sh_offset); in glue() 123 syms = load_at(fd, symtab->sh_offset, symtab->sh_size); in glue() 159 str = load_at(fd, strtab->sh_offset, strtab->sh_size); in glue()
|
/external/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 270 writeArrayData(CBA.getOSAndAlignedOffset(SHeader.sh_offset), in initSymtabSectionHeader() 282 CBA.getOSAndAlignedOffset(SHeader.sh_offset) << STB.data(); in initStrtabSectionHeader() 320 raw_ostream &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset); in writeSectionContent() 343 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset); in writeSectionContent()
|
/external/chromium_org/third_party/libvpx/include/ |
D | elf.h | 333 Elf32_Off sh_offset; member 348 Elf64_Off sh_offset; member
|
/external/kernel-headers/original/uapi/linux/ |
D | elf.h | 304 Elf32_Off sh_offset; member 317 Elf64_Off sh_offset; /* Section file offset */ member
|
/external/libunwind/src/dwarf/ |
D | Gfind_proc_info-lsb.c | 129 fseek (f, sec_hdrs[shstrndx].sh_offset, SEEK_SET); in load_debug_frame() 142 fseek (f, sec_hdrs[i].sh_offset, SEEK_SET); in load_debug_frame() 147 *bufsize, sec_hdrs[i].sh_offset); in load_debug_frame() 154 fseek (f, sec_hdrs[i].sh_offset, SEEK_SET); in load_debug_frame() 159 linksize, sec_hdrs[i].sh_offset); in load_debug_frame()
|