/art/compiler/ |
elf_writer_quick.cc | 35 return RoundUp(prev.sh_size + prev.sh_offset, cur.sh_addralign); 407 dynsym_builder_.section_.sh_offset = RoundUp(base_offset, dynsym_builder_.section_.sh_addralign); 408 dynsym_builder_.section_.sh_addr = dynsym_builder_.section_.sh_offset; 413 dynsym_builder_.strtab_.section_.sh_offset = NextOffset(dynsym_builder_.strtab_.section_, 415 dynsym_builder_.strtab_.section_.sh_addr = dynsym_builder_.strtab_.section_.sh_offset; 420 hash_builder_.section_.sh_offset = NextOffset(hash_builder_.section_, 422 hash_builder_.section_.sh_addr = hash_builder_.section_.sh_offset; 427 rodata_builder_.section_.sh_offset = NextOffset(rodata_builder_.section_, 429 rodata_builder_.section_.sh_addr = rodata_builder_.section_.sh_offset; 434 text_builder_.section_.sh_offset = NextOffset(text_builder_.section_, rodata_builder_.section_) [all...] |
elf_stripper.cc | 100 Elf32_Off offset = elf_file->GetSectionHeader(1)->sh_offset; 109 if (old_sh->sh_offset == offset) { 116 elf_file->Begin() + old_sh->sh_offset, 118 new_sh.sh_offset = offset;
|
elf_patcher.cc | 67 OatHeader* oat_header = reinterpret_cast<OatHeader*>(elf->Begin() + data_sec->sh_offset); 274 CHECK_LE(reinterpret_cast<uintptr_t>(elf_file_->Begin()) + shdr->sh_offset + shdr->sh_size, 277 shdr->sh_offset + shdr->sh_size <= (shdr + 1)->sh_offset) 280 memcpy(elf_file_->Begin() + shdr->sh_offset, patches_.data(),
|
/external/chromium_org/courgette/ |
disassembler_elf_32_x86.cc | 85 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;
|
disassembler_elf_32.cc | 113 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 + section_header->sh_size) [all...] |
types_elf.h | 64 Elf32_Off sh_offset; member in struct:Elf32_Shdr
|
disassembler_elf_32_arm.cc | 318 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;
|
/frameworks/rs/cpu_ref/linkloader/include/ |
ELFSectionHeader.h | 42 offset_t sh_offset; member in class:ELFSectionHeader_CRTP 70 return sh_offset; 127 AR & sh_offset; local 178 AR & sh_offset; local
|
/external/elfutils/0.153/libelf/ |
gelf_update_shdr.c | 86 || unlikely (src->sh_offset > 0xffffffffull) 101 COPY (sh_offset);
|
elf32_offscn.c | 97 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_offset == offset) 102 sh_offset. We presume the caller is looking for a nonempty
|
gelf_getshdr.c | 97 COPY (sh_offset);
|
elf32_getshdr.c | 141 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset); 187 CONVERT (shdr[cnt].sh_offset);
|
/external/libunwind/src/ |
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/chromium_org/third_party/libvpx/source/libvpx/build/make/ |
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 + shdr.sh_size [all...] |
/external/libvpx/libvpx/build/make/ |
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 + shdr.sh_size [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/ |
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 + shdr.sh_size [all...] |
/cts/libs/deviceutil/src/android/cts/util/ |
ReadElf.java | 301 long sh_offset = readOff(); local 306 mShStrTabOffset = sh_offset; 323 long sh_offset = readOff(); local 329 mSymTabOffset = sh_offset; 332 mDynSymOffset = sh_offset; 338 mStrTabOffset = sh_offset; 341 mDynStrOffset = sh_offset;
|
/external/llvm/include/llvm/Object/ |
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...] |
/external/valgrind/main/VEX/switchback/ |
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/ |
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...] |
/frameworks/compile/mclinker/lib/LD/ |
ELFReader.cpp | 348 uint32_t sh_offset = 0x0; local 385 sh_offset = shdr->sh_offset; 389 sh_offset = mcld::bswap32(shdr->sh_offset); 394 pInput.fileOffset() + sh_offset, sh_size); 405 sh_offset = shdrTab[idx].sh_offset; 415 sh_offset = mcld::bswap32(shdrTab[idx].sh_offset); 869 uint64_t sh_offset = 0x0; local [all...] |
/external/libunwind/src/ia64/ |
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/chromium_org/tools/relocation_packer/src/ |
elf_file.cc | 96 VLOG(" sh_offset = %u\n", section_header->sh_offset); 190 if (section_header->sh_offset == dynamic_program_header->p_offset) { 296 if (section_header->sh_offset > hole_start) { 297 section_header->sh_offset += hole_size; 298 VLOG("section %s sh_offset" 299 " adjusted to %u\n", name.c_str(), section_header->sh_offset); 490 const Elf32_Off hole_start = section_header->sh_offset; 545 if (section_header->sh_offset == dynamic_program_header->p_offset) { 560 android_rel_dyn_offset = section_header->sh_offset; [all...] |
/external/qemu/include/hw/ |
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);
|
/art/runtime/ |
elf_file.cc | 248 if (!CheckAndSet(section_header->sh_offset, "symtab", 255 if (!CheckAndSet(section_header->sh_offset, "dynsym", 267 if (!CheckAndSet(section_header->sh_offset, "dynstr", 276 if (!CheckAndSet(section_header->sh_offset, "strtab", 286 Begin() + section_header->sh_offset) { 290 << " != " << reinterpret_cast<void*>(Begin() + section_header->sh_offset); 296 if (!CheckAndSet(section_header->sh_offset, "hash section", 348 if (Begin() + section_header->sh_offset == source) { 354 } else if (Begin() + section_header->sh_offset == target) { 929 byte* strings = Begin() + string_section.sh_offset; [all...] |