Home
last modified time | relevance | path

Searched refs:sh_offset (Results 1 – 25 of 47) sorted by relevance

12

/external/valgrind/main/VEX/unused/
Dlinker.c332 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/
Dobj_int_extract.c319 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_offset); in parse_elf_section()
337 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_offset); in parse_elf_section()
363 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf_string_table()
376 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf_string_table()
434 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name)); in parse_elf()
439 strtab_off32 = shdr.sh_offset; in parse_elf()
456 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name)); in parse_elf()
461 strtab_off64 = shdr.sh_offset; in parse_elf()
478 for (ofst = shdr.sh_offset; in parse_elf()
479 ofst < shdr.sh_offset + shdr.sh_size; in parse_elf()
[all …]
/external/valgrind/main/VEX/switchback/
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/llvm/test/MC/PowerPC/
Dppc64-initial-cfa.ll17 ; STATIC-NEXT: ('sh_offset', 0x{{.*}})
29 ; STATIC-NEXT: ('sh_offset', 0x{{.*}})
51 ; PIC-NEXT: ('sh_offset', 0x{{.*}})
63 ; PIC-NEXT: ('sh_offset', 0x{{.*}})
/external/llvm/test/Scripts/
Delf-dump86 self.sh_offset = f.readWord()
98 print " ('sh_offset', %s)" % common_dump.HexDump(self.sh_offset)
113 f.seek(self.sh_offset[0])
125 f.seek(section.sh_offset[0] + index * section.sh_entsize[0])
148 f.seek(section.sh_offset[0] + index * section.sh_entsize[0])
243 f.seek(sections[e_shstrndx[0]].sh_offset[0])
250 f.seek(section.sh_offset[0])
/external/elfutils/libelf/
Dgelf_update_shdr.c86 || unlikely (src->sh_offset > 0xffffffffull) in gelf_update_shdr()
101 COPY (sh_offset); in gelf_update_shdr()
Delf32_updatefile.c80 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()
Delf32_getshdr.c141 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset); in ElfW2()
187 CONVERT (shdr[cnt].sh_offset); in ElfW2()
Dgelf_getshdr.c97 COPY (sh_offset);
Delf32_offscn.c97 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_offset == offset)
Delf32_updatenull.c338 shdr->sh_offset in __elfw2()
362 update_if_changed (shdr->sh_offset, (GElf_Word) size, in __elfw2()
/external/llvm/test/CodeGen/ARM/
Dehabi-mc-sh_link.ll30 ; CHECK-NEXT: ('sh_offset', 0x0000005c)
43 ; CHECK-NEXT: ('sh_offset', 0x00000068)
D2010-11-30-reloc-movt.ll16 ; OBJ-NEXT: 'sh_offset'
D2010-12-08-tpsoft.ll31 ; ELFOBJ-NEXT: 'sh_offset'
/external/llvm/test/MC/ELF/
Dentsize.ll27 ; 64-NEXT: ('sh_offset',
38 ; 64-NEXT: ('sh_offset',
/external/llvm/include/llvm/Object/
DELF.h139 Elf_Off sh_offset; // File offset of section data, in bytes
156 Elf_Off sh_offset; // File offset of section data, in bytes
737 (const char *)base() + DynSymtab->sh_offset);
745 DynSymtab->sh_offset + DynSymtab->sh_size);
751 (const char *)(base() + sec->sh_offset));
756 (base() + sec->sh_offset + sec->sh_size));
761 (const char *)(base() + sec->sh_offset));
766 (base() + sec->sh_offset + sec->sh_size));
814 const char *sec_start = (const char*)base() + sec->sh_offset;
839 const char *sec_start = (const char*)base() + sec->sh_offset;
[all …]
/external/elfutils/tests/
Dasm-tst2.c229 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15)) in main()
231 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15) in main()
Dasm-tst9.c263 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/
Delf_ops.h36 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/test/MC/ARM/
Dxscale-attributes.ll25 ; OBJ-NEXT: 'sh_offset', 0x00000038
/external/elfutils/src/
Dreadelf.c895 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 …]
Delfcmp.c234 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()
Dstrip.c596 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/
Delff_elf.h221 Elf_Off sh_offset; member
/external/icu4c/tools/toolutil/
Dpkg_genc.c1059 paddingSize=sectionHeaders32[4].sh_offset & 0xf; in writeObjectCode()
1062 sectionHeaders32[4].sh_offset+=paddingSize; in writeObjectCode()
1079 paddingSize=sectionHeaders64[4].sh_offset & 0xf; in writeObjectCode()
1082 sectionHeaders64[4].sh_offset+=paddingSize; in writeObjectCode()

12