/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 | 320 size_t file_offset = section_header->sh_offset; in ParseRelocationSection() 321 size_t section_end = section_header->sh_offset + section_header->sh_size; in ParseRelocationSection() 324 (Elf32_Rel *)OffsetToPointer(section_header->sh_offset); in ParseRelocationSection() 370 uint32 start_file_offset = section_header->sh_offset; in ParseRel32RelocsFromSection()
|
D | types_elf.h | 64 Elf32_Off sh_offset; member
|
/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 | 295 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_offset); in parse_elf_section() 311 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_offset); in parse_elf_section() 334 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf_string_table() 344 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf_string_table() 394 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name)); in parse_elf() 398 strtab_off32 = shdr.sh_offset; in parse_elf() 411 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name)); in parse_elf() 415 strtab_off64 = shdr.sh_offset; in parse_elf() 429 for (ofst = shdr.sh_offset; in parse_elf() 430 ofst < shdr.sh_offset + shdr.sh_size; in parse_elf() [all …]
|
/external/valgrind/main/VEX/switchback/ |
D | linker.c | 398 char* sh_strtab = ehdrC + shdr[ehdr->e_shstrndx].sh_offset; 410 ptr = ehdrC + shdr[i].sh_offset; 520 Elf_Rel* rtab = (Elf_Rel*) (ehdrC + shdr[shnum].sh_offset); 525 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset); 526 targ = (Elf_Word*)(ehdrC + shdr[ target_shndx ].sh_offset); 553 (ehdrC + shdr[ sym.st_shndx ].sh_offset 646 Elf_Rela* rtab = (Elf_Rela*) (ehdrC + shdr[shnum].sh_offset); 651 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset); 652 targ = (Elf_Addr) (ehdrC + shdr[ target_shndx ].sh_offset); 699 (ehdrC + shdr[ sym.st_shndx ].sh_offset [all …]
|
/external/elfutils/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() 266 + scn->shdr.ELFW(e,LIBELFBITS)->sh_offset) in __elfw2() 290 + elf->start_offset + shdr->sh_offset); in __elfw2() 622 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 | elf32_updatenull.c | 338 shdr->sh_offset in __elfw2() 362 update_if_changed (shdr->sh_offset, (GElf_Word) size, in __elfw2()
|
/external/chromium_org/base/third_party/symbolize/ |
D | symbolize.cc | 188 GetSectionHeaderByType(const int fd, ElfW(Half) sh_num, const off_t sh_offset, in GetSectionHeaderByType() argument 197 sh_offset + i * sizeof(buf[0])); in GetSectionHeaderByType() 244 off_t name_offset = shstrtab.sh_offset + out->sh_name; in GetSectionHeaderByName() 274 off_t offset = symtab->sh_offset + i * symtab->sh_entsize; in FindSymbol() 300 strtab->sh_offset + symbol.st_name); in FindSymbol()
|
/external/elfutils/tests/ |
D | asm-tst2.c | 229 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15)) in main() 231 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15) in main()
|
D | asm-tst9.c | 263 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15)) in main() 265 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15) in main()
|
/external/qemu/ |
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/include/llvm/Object/ |
D | ELF.h | 139 Elf_Off sh_offset; // File offset of section data, in bytes 154 Elf_Off sh_offset; // File offset of section data, in bytes 762 (const char *)base() + DynSymtab->sh_offset); 770 DynSymtab->sh_offset + DynSymtab->sh_size); 776 (const char *)(base() + sec->sh_offset)); 781 (base() + sec->sh_offset + sec->sh_size)); 786 (const char *)(base() + sec->sh_offset)); 791 (base() + sec->sh_offset + sec->sh_size)); 847 const char *sec_start = (const char*)base() + sec->sh_offset; 872 const char *sec_start = (const char*)base() + sec->sh_offset; [all …]
|
/external/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 143 STB.writeToStream(CBA.getOSAndAlignedOffset(SHeader.sh_offset)); in createStringTableSectionHeader() 237 writeVectorData(CBA.getOSAndAlignedOffset(SHeader.sh_offset), Syms); in handleSymtabSectionHeader() 322 Sec.Content.writeAsBinary(CBA.getOSAndAlignedOffset(SHeader.sh_offset)); in writeELF()
|
/external/elfutils/src/ |
D | readelf.c | 895 ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 6 : 8, shdr->sh_offset, in print_shdr() 1015 : (shdr->sh_offset >= phdr->p_offset in print_phdr() 1016 && (shdr->sh_offset + shdr->sh_size in print_phdr() 1305 shdr->sh_offset, in handle_dynamic() 1480 shdr->sh_offset); in handle_relocs_rel() 1506 shdr->sh_offset, in handle_relocs_rel() 1519 shdr->sh_offset, in handle_relocs_rel() 1625 shdr->sh_offset); in handle_relocs_rela() 1650 shdr->sh_offset, in handle_relocs_rela() 2072 shdr->sh_offset, in handle_verneed() [all …]
|
D | elfcmp.c | 234 newp->from = shdr1->sh_offset; in main() 235 newp->to = shdr1->sh_offset + shdr1->sh_size; in main() 262 || (shdr1->sh_offset != shdr2->sh_offset in main()
|
D | strip.c | 596 shdr_info[cnt].shdr.sh_offset = 0; in handle_elf() 986 shdr_info[cnt].shdr.sh_offset = 0; in handle_elf() 1041 shdr_info[cnt].shdr.sh_offset = 0; in handle_elf() 1273 if (shdr_info[cnt].shdr.sh_offset == 0) in handle_elf() 1274 shdr_info[cnt].shdr.sh_offset in handle_elf() 1286 if (lastoffset < shdr_info[cnt].shdr.sh_offset + filesz) in handle_elf() 1287 lastoffset = shdr_info[cnt].shdr.sh_offset + filesz; in handle_elf() 1642 newehdr->e_shoff = ((shdr_info[shdridx].shdr.sh_offset in handle_elf()
|
/external/qemu/elff/ |
D | elff_elf.h | 221 Elf_Off sh_offset; member
|
/external/icu4c/tools/toolutil/ |
D | pkg_genc.c | 1058 paddingSize=sectionHeaders32[4].sh_offset & 0xf; in writeObjectCode() 1061 sectionHeaders32[4].sh_offset+=paddingSize; in writeObjectCode() 1078 paddingSize=sectionHeaders64[4].sh_offset & 0xf; in writeObjectCode() 1081 sectionHeaders64[4].sh_offset+=paddingSize; in writeObjectCode()
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
D | pkg_genc.c | 1056 paddingSize=sectionHeaders32[4].sh_offset & 0xf; in writeObjectCode() 1059 sectionHeaders32[4].sh_offset+=paddingSize; in writeObjectCode() 1076 paddingSize=sectionHeaders64[4].sh_offset & 0xf; in writeObjectCode() 1079 sectionHeaders64[4].sh_offset+=paddingSize; in writeObjectCode()
|