Searched refs:sh_offset (Results 1 - 25 of 46) sorted by relevance

12

/external/chromium_org/courgette/
H A Ddisassembler_elf_32_x86.cc85 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;
H A Ddisassembler_elf_32.cc113 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
[all...]
H A Dtypes_elf.h64 Elf32_Off sh_offset; member in struct:Elf32_Shdr
H A Ddisassembler_elf_32_arm.cc320 size_t file_offset = section_header->sh_offset;
321 size_t section_end = section_header->sh_offset + section_header->sh_size;
324 (Elf32_Rel *)OffsetToPointer(section_header->sh_offset);
370 uint32 start_file_offset = section_header->sh_offset;
H A Ddisassembler_elf_32.h113 return OffsetToPointer(SectionHeader(id)->sh_offset);
/external/elfutils/libelf/
H A Dgelf_update_shdr.c86 || unlikely (src->sh_offset > 0xffffffffull)
101 COPY (sh_offset);
H A Delf32_offscn.c97 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_offset == offset)
102 sh_offset. We presume the caller is looking for a nonempty
H A Dgelf_getshdr.c97 COPY (sh_offset);
H A Delf32_getshdr.c141 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset);
187 CONVERT (shdr[cnt].sh_offset);
H A Delf32_updatefile.c80 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset
81 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset)
84 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset
85 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset)
266 + scn->shdr.ELFW(e,LIBELFBITS)->sh_offset)
290 + elf->start_offset + shdr->sh_offset);
622 off_t scn_start = elf->start_offset + shdr->sh_offset;
H A Delf32_updatenull.c338 shdr->sh_offset
362 update_if_changed (shdr->sh_offset, (GElf_Word) size,
/external/libvpx/libvpx/build/make/
H A Dobj_int_extract.c295 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_offset);
311 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_offset);
334 return (char *)(elf->buf + shdr.sh_offset + idx);
344 return (char *)(elf->buf + shdr.sh_offset + idx);
394 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name));
398 strtab_off32 = shdr.sh_offset;
411 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name));
415 strtab_off64 = shdr.sh_offset;
429 for (ofst = shdr.sh_offset;
430 ofst < shdr.sh_offset
[all...]
/external/valgrind/main/VEX/switchback/
H A Dlinker.c398 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/valgrind/main/VEX/unused/
H A Dlinker.c332 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...]
/external/elfutils/tests/
H A Dasm-tst2.c229 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15))
231 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15)
H A Dasm-tst9.c263 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15))
265 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15)
H A Dasm-tst1.c214 if (shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 31) & ~31))
H A Dsectiondump.c115 shdr->sh_offset,
/external/chromium_org/base/third_party/symbolize/
H A Dsymbolize.cc188 GetSectionHeaderByType(const int fd, ElfW(Half) sh_num, const off_t sh_offset, argument
197 sh_offset + i * sizeof(buf[0]));
244 off_t name_offset = shstrtab.sh_offset + out->sh_name;
274 off_t offset = symtab->sh_offset + i * symtab->sh_entsize;
300 strtab->sh_offset + symbol.st_name);
/external/qemu/
H A Delf_ops.h36 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);
/external/qemu/elff/
H A Delff_elf.h221 Elf_Off sh_offset; member in struct:Elf_SHdr
/external/llvm/tools/yaml2obj/
H A Dyaml2elf.cpp143 STB.writeToStream(CBA.getOSAndAlignedOffset(SHeader.sh_offset));
237 writeVectorData(CBA.getOSAndAlignedOffset(SHeader.sh_offset), Syms);
322 Sec.Content.writeAsBinary(CBA.getOSAndAlignedOffset(SHeader.sh_offset));
/external/elfutils/src/
H A Delfcmp.c234 newp->from = shdr1->sh_offset;
235 newp->to = shdr1->sh_offset + shdr1->sh_size;
262 || (shdr1->sh_offset != shdr2->sh_offset
/external/grub/stage2/
H A Di386-elf.h109 Elf32_Off sh_offset; /* Section file offset */ member in struct:__anon17855
/external/llvm/include/llvm/Object/
H A DELF.h139 Elf_Off sh_offset; // File offset of section data, in bytes member in struct:llvm::object::Elf_Shdr_Base
154 Elf_Off sh_offset; // File offset of section data, in bytes member in struct:llvm::object::Elf_Shdr_Base
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...]

Completed in 592 milliseconds

12