Home
last modified time | relevance | path

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

1234

/external/elfutils/tests/
Dupdate4.c296 elf32_getshdr (elf_getscn (elf, 1))->sh_name = ebl_strtaboffset (firstse); in main()
297 elf32_getshdr (elf_getscn (elf, 2))->sh_name = ebl_strtaboffset (secondse); in main()
298 elf32_getshdr (elf_getscn (elf, 3))->sh_name = ebl_strtaboffset (thirdse); in main()
299 elf32_getshdr (elf_getscn (elf, 4))->sh_name = ebl_strtaboffset (fourthse); in main()
300 shdr->sh_name = ebl_strtaboffset (shstrtabse); in main()
Dasm-tst1.c177 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
181 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Dasm-tst2.c193 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
197 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Dasm-tst9.c227 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
231 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Ddwflsyms.c95 return elf_strptr (elf, ehdr.e_shstrndx, shdr.sh_name); in elf_section_name()
196 shdr->sh_name); in list_syms()
Dasm-tst3.c193 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
197 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Dalldts.c216 elf32_getshdr (elf_getscn (elf, 1))->sh_name = ebl_strtaboffset (dynscn); in main()
217 shdr->sh_name = ebl_strtaboffset (shstrtabse); in main()
Delfstrmerge.c273 if (shdr->sh_name != 0 && scnnum != shdrstrndx) in main()
275 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in main()
455 newshdr.sh_name = (shdr->sh_name != 0 in main()
Dscnnames.c79 name = elf_strptr (elf, strndx, (size_t) shdr.sh_name); in main()
/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/backends/
Daarch64_symbol.c71 const char *sname = elf_strptr (elf, ehdr->e_shstrndx, destshdr->sh_name); in aarch64_check_special_symbol()
82 sname = elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name); in aarch64_check_special_symbol()
Dppc64_symbol.c102 const char *sname = elf_strptr (elf, ehdr->e_shstrndx, destshdr->sh_name); in ppc64_check_special_symbol()
/external/elfutils/libasm/
Dasm_end.c308 shdr->sh_name = ebl_strtaboffset (shstrscn_strent); in binary_end()
367 shdr->sh_name = ebl_strtaboffset (runp->strent); in binary_end()
389 shdr->sh_name = ebl_strtaboffset (symscn_strent); in binary_end()
400 shdr->sh_name = ebl_strtaboffset (strscn_strent); in binary_end()
412 shdr->sh_name = ebl_strtaboffset (xndxscn_strent); in binary_end()
426 shdr->sh_name = ebl_strtaboffset (asmscn->data.main.strent); in binary_end()
/external/swiftshader/third_party/LLVM/test/Scripts/
Delf-dump56 self.sh_name = f.read32()
68 … print " (('sh_name', %s)" % common_dump.HexDump(self.sh_name), "# %r" % shstrtab[self.sh_name[0]]
200 if shstrtab[section.sh_name[0]] == ".strtab":
/external/swiftshader/third_party/LLVM/test/MC/ELF/
Dentsize.ll23 ; 64: (('sh_name', 0x0000004e) # '.rodata.str1.1'
34 ; 64: (('sh_name', 0x00000041) # '.rodata.cst8'
/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/src/
Delfcompress.c461 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
665 sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
862 name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
986 shdr->sh_name = ebl_strtaboffset (scnstrents[shdrstrndx]); in process_file()
1028 shstrtab_name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
1101 shdr->sh_name = ebl_strtaboffset (scnstrents[ndx]); in process_file()
1169 symtab_name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
Dobjdump.c395 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name)); in show_relocs_x()
461 const char *name = elf_strptr (elf, shstrndx, shdr->sh_name); in section_match()
512 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name), in show_relocs()
579 elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_full_content()
721 elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_disasm()
/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()
Dgelf_getshdr.c70 COPY (sh_name); in gelf_getshdr()
/external/perf_data_converter/src/quipper/
Ddso_test_utils.cc114 section_header.sh_name = string_table.Add(section_name); in WriteElfWithMultipleBuildids()
140 section_header.sh_name = string_table.Add(".shstrtab"); in WriteElfWithMultipleBuildids()
Ddso.cc44 char *n = elf_strptr(elf, shstrndx, shdr.sh_name); in FindElfSection()
46 LOG(ERROR) << "Couldn't get string: " << shdr.sh_name << " " << shstrndx; in FindElfSection()
/external/elfutils/libebl/
Deblsectionstripp.c57 shdr_l->sh_name); in ebl_section_strip_p()
/external/elfutils/libdwfl/
Drelocate.c61 const char *name = elf_strptr (elf, *shstrndx, refshdr->sh_name); in __libdwfl_relocate_value()
230 shdr->sh_name); in resolve_symbol()
490 const char *tname = elf_strptr (relocated, shstrndx, tshdr->sh_name); in relocate_section()
516 const char *sname = elf_strptr (relocated, shstrndx, shdr->sh_name); in relocate_section()

1234