Home
last modified time | relevance | path

Searched refs:sh_name (Results 1 – 25 of 131) sorted by relevance

123456

/external/google-breakpad/src/common/dwarf/
Delf_reader.cc350 const char *name = GetSectionName(section_headers_[k].sh_name); in ElfReaderImpl()
707 return GetSectionName(section_headers_[shndx].sh_name); in GetSectionNameByIndex()
731 const char *name = GetSectionName(section_headers_[shndx].sh_name); in GetSectionContentsByName()
754 const char *name = GetSectionName(section_headers_[shndx].sh_name); in GetSectionInfoByName()
800 const char *name = GetSectionName(section_headers_[k].sh_name); in HasDebugSections()
857 const char *GetSectionName(typename ElfArch::Word sh_name) { in GetSectionName() argument
861 return shstrtab->GetOffset(sh_name); in GetSectionName()
1204 bool ElfReader::SectionNamesMatch(const string &name, const string &sh_name) { in SectionNamesMatch() argument
1205 if ((name.find(".debug_", 0) == 0) && (sh_name.find(".zdebug_", 0) == 0)) { in SectionNamesMatch()
1207 const string sh_name_suffix(sh_name, strlen(".zdebug_")); in SectionNamesMatch()
[all …]
/external/elfutils/tests/
Daddsections.c142 size_t shstrtab_idx = shdr->sh_name; in add_sections()
143 shdr->sh_name = old_shstrtab_idx; in add_sections()
212 shdr->sh_name = extra_idx; in add_sections()
259 shdr->sh_name = shstrtab_idx; in add_sections()
Dupdate4.c297 elf32_getshdr (elf_getscn (elf, 1))->sh_name = dwelf_strent_off (firstse); in main()
298 elf32_getshdr (elf_getscn (elf, 2))->sh_name = dwelf_strent_off (secondse); in main()
299 elf32_getshdr (elf_getscn (elf, 3))->sh_name = dwelf_strent_off (thirdse); in main()
300 elf32_getshdr (elf_getscn (elf, 4))->sh_name = dwelf_strent_off (fourthse); in main()
301 shdr->sh_name = dwelf_strent_off (shstrtabse); in main()
Dfillfile.c95 shdr->sh_name = add_strtab_entry (scn, ".strtab"); in create_strtab()
156 shdr->sh_name = add_strtab_entry (strtab, sname); in add_data_section()
308 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in check_elf()
380 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in check_elf()
Dasm-tst1.c178 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
182 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Dasm-tst2.c194 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
198 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Dasm-tst9.c228 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
232 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Dasm-tst3.c194 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
198 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Demptyfile.c176 shdr->sh_name = add_string (scn, ".strtab"); in check_elf()
248 const char *sname = elf_strptr (elf, shstrndx, shdr->sh_name); in check_elf()
Ddwflsyms.c94 return elf_strptr (elf, ehdr.e_shstrndx, shdr.sh_name); in elf_section_name()
195 shdr->sh_name); in list_syms()
Dalldts.c217 elf32_getshdr (elf_getscn (elf, 1))->sh_name = dwelf_strent_off (dynscn); in main()
218 shdr->sh_name = dwelf_strent_off (shstrtabse); in main()
/external/elfutils/backends/
Ds390_symbol.c74 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in s390_check_special_symbol()
85 sname = elf_strptr (elf, shstrndx, shdr->sh_name); in s390_check_special_symbol()
Daarch64_symbol.c75 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in aarch64_check_special_symbol()
86 sname = elf_strptr (elf, shstrndx, shdr->sh_name); in aarch64_check_special_symbol()
/external/google-breakpad/src/common/linux/
Dsynth_elf_unittest.cc242 EXPECT_EQ(0U, shdr[0].sh_name); in TYPED_TEST()
253 EXPECT_EQ(1U, shdr[1].sh_name); in TYPED_TEST()
317 EXPECT_EQ(0U, shdr[0].sh_name); in TYPED_TEST()
328 EXPECT_EQ(1U, shdr[1].sh_name); in TYPED_TEST()
339 EXPECT_EQ(sizeof("\0.text"), shdr[2].sh_name); in TYPED_TEST()
350 EXPECT_EQ(sizeof("\0.text\0.bss"), shdr[3].sh_name); in TYPED_TEST()
Delfutils-inl.h62 const char* section_name = section_names + sections[i].sh_name; in FindElfSectionByName()
/external/elfutils/libasm/
Dasm_end.c309 shdr->sh_name = dwelf_strent_off (shstrscn_strent); in binary_end()
368 shdr->sh_name = dwelf_strent_off (runp->strent); in binary_end()
390 shdr->sh_name = dwelf_strent_off (symscn_strent); in binary_end()
401 shdr->sh_name = dwelf_strent_off (strscn_strent); in binary_end()
413 shdr->sh_name = dwelf_strent_off (xndxscn_strent); in binary_end()
427 shdr->sh_name = dwelf_strent_off (asmscn->data.main.strent); in binary_end()
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/
Drelocation-errors.test16 # LLVM-NEXT: warning: '[[FILE]]': a section [index 2] has an invalid sh_name (0xfefefefe) offset wh…
33 # GNU-NEXT: warning: '[[FILE]]': a section [index 2] has an invalid sh_name (0xfefefefe) offset wh…
77 ## sh_name offset that goes past the end of the section name string table.
82 ## sh_name offset that goes past the end of the section name string table.
Dsections-no-section-header-string-table.test48 …of SHT_PROGBITS section with index 2: a section [index 2] has an invalid sh_name (0x1) offset whic…
63 …e of SHT_STRTAB section with index 3: a section [index 3] has an invalid sh_name (0x15) offset whi…
78 …e of SHT_STRTAB section with index 4: a section [index 4] has an invalid sh_name (0xb) offset whic…
Dmips-reginfo.test40 …of SHT_PROGBITS section with index 1: a section [index 1] has an invalid sh_name (0xffff) offset w…
41 …of SHT_PROGBITS section with index 3: a section [index 3] has an invalid sh_name (0xffff) offset w…
66 …HT_MIPS_REGINFO section with index 2: a section [index 2] has an invalid sh_name (0xffff) offset w…
Dsection-details.test229 # SHSTRNDX-NEXT: warning: '[[FILE]]': a section [index 1] has an invalid sh_name (0x5) offset which…
233 # SHSTRNDX-NEXT: warning: '[[FILE]]': a section [index 2] has an invalid sh_name (0x1) offset which…
237 # SHSTRNDX-NEXT: warning: '[[FILE]]': a section [index 3] has an invalid sh_name (0x13) offset whic…
241 # SHSTRNDX-NEXT: warning: '[[FILE]]': a section [index 4] has an invalid sh_name (0x9) offset which…
/external/swiftshader/third_party/subzero/src/
DIceELFSection.h72 void setNameStrIndex(Elf64_Word sh_name) { Header.sh_name = sh_name; } in setNameStrIndex() argument
317 Str.writeELFWord<IsELF64>(Header.sh_name); in writeHeader()
/external/elfutils/libelf/
Delf32_getshdr.c140 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); in ElfW2()
189 CONVERT (shdr[cnt].sh_name); in ElfW2()
/external/elfutils/src/
Delfcompress.c470 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
701 sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
898 name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
1026 shdr->sh_name = dwelf_strent_off (scnstrents[shdrstrndx]); in process_file()
1068 shstrtab_name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
1141 shdr->sh_name = dwelf_strent_off (scnstrents[ndx]); in process_file()
1209 symtab_name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
Dobjdump.c383 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name)); in show_relocs_x()
449 const char *name = elf_strptr (elf, shstrndx, shdr->sh_name); in section_match()
500 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name), in show_relocs()
567 elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_full_content()
709 elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_disasm()
/external/elfutils/libebl/
Deblsectionstripp.c60 shdr_l->sh_name); in ebl_section_strip_p()

123456