/system/core/libunwindstack/ |
ElfInterface.cpp | 118 uint64_t sh_offset = offset + ehdr.e_shstrndx * ehdr.e_shentsize; local 119 if (memory_->Read(sh_offset, &shdr, &shdr.sh_offset, sizeof(shdr.sh_offset)) 120 && memory_->Read(sh_offset, &shdr, &shdr.sh_size, sizeof(shdr.sh_size))) { 121 sec_offset = shdr.sh_offset; 141 if (memory_->Read(offset, &shdr, &shdr.sh_offset, sizeof(shdr.sh_offset)) 143 debug_frame_offset_ = shdr.sh_offset; 147 if (memory_->Read(offset, &shdr, &shdr.sh_offset, sizeof(shdr.sh_offset) [all...] |
/toolchain/binutils/binutils-2.25/libiberty/ |
simple-object-elf.c | 161 unsigned char sh_offset[4]; /* Section file offset */ member in struct:__anon108945 176 unsigned char sh_offset[8]; /* Section file offset */ member in struct:__anon108946 534 shstrhdr, sh_offset, Elf_Addr); 566 shdr, sh_offset, Elf_Addr); 769 unsigned int sh_offset, unsigned int sh_size, 791 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_offset, Elf_Addr, sh_offset); 823 size_t sh_offset; local 854 sh_offset = shdr_offset + shnum * shdr_size; 880 new_sh_offset = sh_offset + mask [all...] |
/external/elfutils/libelf/ |
gelf_update_shdr.c | 65 || unlikely (src->sh_offset > 0xffffffffull) 80 COPY (sh_offset);
|
elf32_offscn.c | 74 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_offset == offset) 79 sh_offset. We presume the caller is looking for a nonempty
|
gelf_getshdr.c | 74 COPY (sh_offset);
|
/external/syslinux/gpxe/src/arch/i386/core/ |
freebsd_loader.c | 176 if ((shdr[i].sh_offset >= estate.p.phdr32[j].p_offset) && 177 ((shdr[i].sh_offset + shdr[i].sh_size) <= 180 shdr[i].sh_offset=0; 186 if ((shdr[i].sh_offset != 0) && (shdr[i].sh_size != 0)) 207 estate.skip = shdr[symtabindex].sh_offset - (estate.loc + offset); 235 estate.skip = shdr[symstrindex].sh_offset - (estate.loc + offset);
|
/toolchain/binutils/binutils-2.25/include/elf/ |
internal.h | 106 file_ptr sh_offset; /* Section file offset */ member in struct:elf_internal_shdr 323 || ((bfd_vma) (sec_hdr)->sh_offset >= (segment)->p_offset \ 325 || ((sec_hdr)->sh_offset - (segment)->p_offset \ 327 && (((sec_hdr)->sh_offset - (segment)->p_offset \ 345 || ((bfd_vma) (sec_hdr)->sh_offset > (segment)->p_offset \ 346 && ((sec_hdr)->sh_offset - (segment)->p_offset \
|
external.h | 117 unsigned char sh_offset[4]; /* Section file offset */ member in struct:__anon108619 130 unsigned char sh_offset[8]; /* Section file offset */ member in struct:__anon108620
|
/external/swiftshader/third_party/LLVM/test/Scripts/ |
elf-dump | 60 self.sh_offset = f.readWord() 72 print " ('sh_offset', %s)" % common_dump.HexDump(self.sh_offset) 87 f.seek(self.sh_offset[0]) 99 f.seek(section.sh_offset[0] + index * section.sh_entsize[0]) 122 f.seek(section.sh_offset[0] + index * section.sh_entsize[0]) 194 f.seek(sections[e_shstrndx[0]].sh_offset[0]) 201 f.seek(section.sh_offset[0])
|
/cts/common/device-side/util/src/com/android/compatibility/common/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/vixl/examples/aarch32/ |
disasm-a32.cc | 104 reinterpret_cast<const char*>(ehdr) + shdr_[ehdr->e_shstrndx].sh_offset; 131 reinterpret_cast<const char*>(ehdr) + strtab->sh_offset; 136 reinterpret_cast<const char*>(ehdr) + symtab->sh_offset); 178 shdr_[sym.st_shndx].sh_offset, 185 shdr_[sym.st_shndx].sh_offset - shdr_[sym.st_shndx].sh_addr, 289 func_size = (shndx.sh_offset + shndx.sh_size) - sres->first;
|
/external/libunwind/src/ |
elfxx.c | 144 GET_SHDR_FIELD(ei, str_soff, &shdr, sh_offset); 146 if (shdr.sh_offset + shdr.sh_size > size) { 148 (unsigned long) (shdr.sh_offset + shdr.sh_size), 153 Debug (16, "strtab=0x%lx\n", (long) shdr.sh_offset); 154 *offset = shdr.sh_offset; 183 GET_SHDR_FIELD(ei, shdr_offset, &shdr, sh_offset); 187 Debug (16, "symtab=0x%lx[%d]\n", (long) shdr.sh_offset, shdr.sh_type); 190 unw_word_t symtab_end = shdr.sh_offset + shdr.sh_size; 191 for (sym_offset = shdr.sh_offset; 300 if (str_shdr->sh_offset + str_shdr->sh_size > ei->u.mapped.size) [all...] |
/external/valgrind/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/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 | 334 uint32_t sh_offset = 0x0; local 370 sh_offset = shdr->sh_offset; 373 sh_offset = mcld::bswap32(shdr->sh_offset); 378 pInput.memArea()->request(pInput.fileOffset() + sh_offset, sh_size); 389 sh_offset = shdrTab[idx].sh_offset; 398 sh_offset = mcld::bswap32(shdrTab[idx].sh_offset); 828 uint64_t sh_offset = 0x0; local [all...] |
/external/elfutils/tests/ |
test-elf_cntl_gelf_getshdr.c | 102 printf ("Section at offset %#0" PRIx64 "\n", shdr->sh_offset);
|
asm-tst2.c | 221 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15)) 223 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15)
|
/external/elfutils/libdwfl/ |
relocate.c | 545 if (unlikely (shdr->sh_offset < ehsize 546 || tshdr->sh_offset < ehsize)) 556 if (unlikely ((shdrs_start < shdr->sh_offset + shdr->sh_size 557 && shdr->sh_offset < shdrs_end) 558 || (shdrs_start < tshdr->sh_offset + tshdr->sh_size 559 && tshdr->sh_offset < shdrs_end))) 571 if (unlikely ((phdrs_start < shdr->sh_offset + shdr->sh_size 572 && shdr->sh_offset < phdrs_end) 573 || (phdrs_start < tshdr->sh_offset + tshdr->sh_size 574 && tshdr->sh_offset < phdrs_end)) [all...] |
/external/google-breakpad/src/common/linux/ |
elfutils.cc | 64 GetOffset<ElfClass, char>(elf_header, section_names->sh_offset); 73 *section_start = elf_base + section->sh_offset;
|
/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/llvm/include/llvm/Object/ |
ELF.h | 123 return reinterpret_cast<const Elf_Sym *>(base() + Sec->sh_offset); 140 return reinterpret_cast<const Elf_Rela *>(base() + sec->sh_offset); 157 return reinterpret_cast<const Elf_Rel *>(base() + sec->sh_offset); 250 uintX_t Offset = Sec->sh_offset; 417 return reinterpret_cast<const T *>(base() + Section->sh_offset + 438 uint64_t Offset = Section->sh_offset; 442 StringRef Data((const char *)base() + Section->sh_offset, Size); 453 reinterpret_cast<const Elf_Word *>(base() + Section.sh_offset);
|
/art/runtime/ |
elf_file.cc | 219 if (!CheckAndSet(section_header->sh_offset, "symtab", 226 if (!CheckAndSet(section_header->sh_offset, "dynsym", 238 if (!CheckAndSet(section_header->sh_offset, "dynstr", 247 if (!CheckAndSet(section_header->sh_offset, "strtab", 257 Begin() + section_header->sh_offset) { 261 << " != " << reinterpret_cast<void*>(Begin() + section_header->sh_offset); 267 if (!CheckAndSet(section_header->sh_offset, "hash section", 319 if (Begin() + section_header->sh_offset == source) { 325 } else if (Begin() + section_header->sh_offset == target) { [all...] |
/external/syslinux/com32/include/sys/ |
elf32.h | 98 Elf32_Off sh_offset; member in struct:elf32_shdr
|
elf64.h | 98 Elf64_Off sh_offset; member in struct:elf64_shdr
|
/development/vndk/tools/definition-tool/tools/ |
remove_dt_needed.py | 20 'sh_name sh_type sh_flags sh_addr sh_offset sh_size sh_link sh_info ' 165 shstrtab_off = shstrtab_shdr.sh_offset 184 dynamic_off = dynamic_shdr.sh_offset 185 dynstr_off = dynstr_shdr.sh_offset
|