/toolchain/binutils/binutils-2.27/libiberty/ |
simple-object-elf.c | 161 unsigned char sh_offset[4]; /* Section file offset */ member in struct:__anon5015 176 unsigned char sh_offset[8]; /* Section file offset */ member in struct:__anon5016 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.27/include/elf/ |
internal.h | 106 file_ptr sh_offset; /* Section file offset */ member in struct:elf_internal_shdr 338 || ((bfd_vma) (sec_hdr)->sh_offset >= (segment)->p_offset \ 340 || ((sec_hdr)->sh_offset - (segment)->p_offset \ 342 && (((sec_hdr)->sh_offset - (segment)->p_offset \ 360 || ((bfd_vma) (sec_hdr)->sh_offset > (segment)->p_offset \ 361 && ((sec_hdr)->sh_offset - (segment)->p_offset \
|
external.h | 117 unsigned char sh_offset[4]; /* Section file offset */ member in struct:__anon4679 130 unsigned char sh_offset[8]; /* Section file offset */ member in struct:__anon4680
|
/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;
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
ReadElf.java | 207 public final long sh_offset; field in class:ReadElf.SecHeader 229 this.sh_offset = offset; 245 this.sh_offset, 705 long sh_offset = readOff(); local 710 mShStrTabOffset = sh_offset; 727 long sh_offset = readOff(); local 739 mSymTabOffset = sh_offset; 743 mDynSymOffset = sh_offset; 750 symTabName, sh_offset, sh_size, sh_link, sh_info, sh_entsize)); 754 mStrTabOffset = sh_offset; [all...] |
/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, 290 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...] |
/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...] |
/system/core/libunwindstack/ |
ElfInterface.cpp | 315 uint64_t sh_offset = offset + ehdr.e_shstrndx * ehdr.e_shentsize; local 316 if (memory_->ReadField(sh_offset, &shdr, &shdr.sh_offset, sizeof(shdr.sh_offset)) && 317 memory_->ReadField(sh_offset, &shdr, &shdr.sh_size, sizeof(shdr.sh_size))) { 318 sec_offset = shdr.sh_offset; 350 symbols_.push_back(new Symbols(shdr.sh_offset, shdr.sh_size, shdr.sh_entsize, 351 str_shdr.sh_offset, str_shdr.sh_size)); 373 *offset_ptr = shdr.sh_offset; 381 static_cast<uint64_t>(shdr.sh_offset))); [all...] |
/system/core/libunwindstack/tests/ |
ElfInterfaceTest.cpp | 501 shdr.sh_offset = 0x10000; 791 shdr.sh_offset = 0x5000; 801 shdr.sh_offset = 0x6000; 817 shdr.sh_offset = 0xf000; 882 shdr.sh_offset = 0x5000; 892 shdr.sh_offset = 0xf000; 902 shdr.sh_offset = 0x6000; 913 shdr.sh_offset = 0x7000; 924 shdr.sh_offset = 0xa000; 1018 uint64_t sh_offset = 0x100 local 1081 uint64_t sh_offset = 0x100; local [all...] |
JitDebugTest.cpp | 93 uint64_t sh_offset = sizeof(ehdr); local 98 ehdr.e_shoff = sh_offset; 106 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); 108 sh_offset += sizeof(shdr); 112 shdr.sh_offset = 0x500; 114 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); 117 sh_offset += sizeof(shdr); 122 shdr.sh_offset = 0x600; 124 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr));
|
ElfTestUtils.cpp | 87 shdr.sh_offset = symtab_offset; 129 shdr.sh_offset = offset;
|
GenGnuDebugdata.cpp | 67 shdr.sh_offset = 0x5000; 76 shdr.sh_offset = 0x200;
|
/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 | 218 if (!CheckAndSet(section_header->sh_offset, "symtab", 225 if (!CheckAndSet(section_header->sh_offset, "dynsym", 237 if (!CheckAndSet(section_header->sh_offset, "dynstr", 246 if (!CheckAndSet(section_header->sh_offset, "strtab", 256 Begin() + section_header->sh_offset) { 260 << " != " << reinterpret_cast<void*>(Begin() + section_header->sh_offset); 266 if (!CheckAndSet(section_header->sh_offset, "hash section", 318 if (Begin() + section_header->sh_offset == source) { 324 } else if (Begin() + section_header->sh_offset == target) { [all...] |