Home
last modified time | relevance | path

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

12

/external/llvm/test/Scripts/
Delf-dump72 self.sh_offset = f.readWord()
84 print " ('sh_offset', %s)" % common_dump.HexDump(self.sh_offset)
99 f.seek(self.sh_offset)
111 f.seek(section.sh_offset + index * section.sh_entsize)
132 f.seek(section.sh_offset + index * section.sh_entsize)
202 f.seek(sections[e_shstrndx].sh_offset)
209 f.seek(section.sh_offset)
/external/libvpx/build/make/
Dobj_int_extract.c399 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_offset); in parse_elf_section()
417 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_offset); in parse_elf_section()
443 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf_string_table()
456 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf_string_table()
514 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name)); in parse_elf()
519 strtab_off32 = shdr.sh_offset; in parse_elf()
536 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name)); in parse_elf()
541 strtab_off64 = shdr.sh_offset; in parse_elf()
558 for (ofst = shdr.sh_offset; in parse_elf()
559 ofst < shdr.sh_offset + shdr.sh_size; in parse_elf()
[all …]
/external/elfutils/libelf/
Dgelf_update_shdr.c52 || unlikely (src->sh_offset > 0xffffffffull) in gelf_update_shdr()
67 COPY (sh_offset); in gelf_update_shdr()
Delf32_getshdr.c120 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset);
149 CONVERT (shdr[cnt].sh_offset);
Delf32_updatefile.c44 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset in compare_sections()
45 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset) in compare_sections()
48 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset in compare_sections()
49 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset) in compare_sections()
203 + elf->start_offset + shdr->sh_offset); in __elfw2()
511 scn_start = elf->start_offset + shdr->sh_offset; in __elfw2()
Dgelf_getshdr.c63 COPY (sh_offset);
Delf32_updatenull.c285 shdr->sh_offset in __elfw2()
308 update_if_changed (shdr->sh_offset, (GElf_Word) size, in __elfw2()
Delf_getdata.c196 offset = shdr->sh_offset; in __libelf_set_rawdata()
209 offset = shdr->sh_offset; in __libelf_set_rawdata()
/external/llvm/lib/Object/
DELFObjectFile.cpp99 Elf_Off sh_offset; // File offset of section data, in bytes member
114 Elf_Off sh_offset; // File offset of section data, in bytes member
265 + SymbolTableSection->sh_offset) in validateSymbol()
267 + SymbolTableSection->sh_offset in validateSymbol()
483 const char *start = (const char*)base() + sec->sh_offset; in getSectionContents()
545 if (((const char*)base() + dot_shstrtab_sec->sh_offset) in ELFObjectFile()
563 const char *dot_strtab = (const char*)base() + sh->sh_offset; in ELFObjectFile()
668 + sec->sh_offset in getSymbol()
711 return (const char *)base() + section->sh_offset + offset; in getString()
/external/llvm/test/MC/ELF/
Dentsize.ll27 ; 64-NEXT: ('sh_offset',
38 ; 64-NEXT: ('sh_offset',
/external/elfutils/tests/
Dasm-tst2.c206 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15)) in main()
208 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15) in main()
Dasm-tst9.c240 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15)) in main()
242 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15) in main()
Dsectiondump.c103 shdr->sh_offset, in handle_section()
Dasm-tst1.c191 if (shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 31) & ~31)) 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/elfutils/src/
Dreadelf.c754 ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 6 : 8, shdr->sh_offset, in print_shdr()
879 : (shdr->sh_offset >= phdr->p_offset in print_phdr()
880 && (shdr->sh_offset + shdr->sh_size in print_phdr()
1140 shdr->sh_offset, in handle_dynamic()
1326 shdr->sh_offset); in handle_relocs_rel()
1362 shdr->sh_offset, in handle_relocs_rel()
1375 shdr->sh_offset, in handle_relocs_rel()
1483 shdr->sh_offset); in handle_relocs_rela()
1520 shdr->sh_offset, in handle_relocs_rela()
1951 shdr->sh_offset, in handle_verneed()
[all …]
Dstrip.c584 shdr_info[cnt].shdr.sh_offset = 0; in handle_elf()
979 shdr_info[cnt].shdr.sh_offset = 0; in handle_elf()
1035 shdr_info[cnt].shdr.sh_offset = 0; in handle_elf()
1266 if (shdr_info[cnt].shdr.sh_offset == 0) in handle_elf()
1267 shdr_info[cnt].shdr.sh_offset in handle_elf()
1279 if (lastoffset < shdr_info[cnt].shdr.sh_offset + filesz) in handle_elf()
1280 lastoffset = shdr_info[cnt].shdr.sh_offset + filesz; in handle_elf()
1598 newehdr->e_shoff = ((shdr_info[shdridx].shdr.sh_offset in handle_elf()
/external/kernel-headers/original/linux/
Delf.h274 Elf32_Off sh_offset; member
287 Elf64_Off sh_offset; /* Section file offset */ member
/external/llvm/test/MC/ARM/
Dxscale-attributes.ll25 ; OBJ-NEXT: 'sh_offset', 0x00000038
/external/llvm/test/CodeGen/ARM/
D2010-11-30-reloc-movt.ll16 ; OBJ-NEXT: 'sh_offset'
D2010-12-08-tpsoft.ll31 ; ELFOBJ-NEXT: 'sh_offset'
/external/qemu/elff/
Delff_elf.h221 Elf_Off sh_offset; member
Delf_file.cc375 if (!string_section_.map(elf_handle_, pull_val(str_sec->sh_offset), in initialize()
450 *offset = pull_val(cur_section->sh_offset); in get_section_info_by_name()
/external/icu4c/tools/toolutil/
Dpkg_genc.c1048 paddingSize=sectionHeaders32[4].sh_offset & 0xf; in writeObjectCode()
1051 sectionHeaders32[4].sh_offset+=paddingSize; in writeObjectCode()
1068 paddingSize=sectionHeaders64[4].sh_offset & 0xf; in writeObjectCode()
1071 sectionHeaders64[4].sh_offset+=paddingSize; in writeObjectCode()
/external/grub/stage2/
Di386-elf.h109 Elf32_Off sh_offset; /* Section file offset */ member

12