Searched refs:strtab (Results 1 - 7 of 7) sorted by relevance
/third_party/elfutils/tests/ |
H A D | fillfile.c | 41 add_strtab_entry (Elf_Scn *strtab, const char *str) in add_strtab_entry() argument 46 Elf_Data *data = elf_newdata (strtab); in add_strtab_entry() 68 // Create strtab section. in create_strtab() 83 printf ("cannot get header for new strtab section: %s\n", in create_strtab() 95 shdr->sh_name = add_strtab_entry (scn, ".strtab"); in create_strtab() 97 // We have to store the section strtab index in the ELF header. in create_strtab() 116 // Finished strtab section, update the header. in create_strtab() 130 add_data_section (Elf *elf, Elf_Scn *strtab, const char *sname) in add_data_section() argument 156 shdr->sh_name = add_strtab_entry (strtab, sname); in add_data_section() 203 stridx = 0; // Reset strtab string in check_elf() 247 Elf_Scn *strtab = create_strtab (elf); check_elf() local [all...] |
/third_party/libunwind/libunwind/src/ |
H A D | elfxx.c | 83 Debug (16, "strtab=0x%lx\n", (long) str_shdr->sh_offset); in string_table() 99 char *strtab; in lookup_symbol() local 118 strtab = elf_w (string_table) (ei, shdr->sh_link); in lookup_symbol() 119 if (!strtab) in lookup_symbol() 138 (long) val, sym->st_info, strtab + sym->st_name); in lookup_symbol() 143 strncpy (buf, strtab + sym->st_name, buf_len); in lookup_symbol() 145 ret = (strlen (strtab + sym->st_name) >= buf_len in lookup_symbol() 344 char *strtab; in Elf_W() local 354 strtab = elf_w (string_table) (ei, ehdr->e_shstrndx); in Elf_W() 355 if (!strtab) in Elf_W() [all...] |
/third_party/libunwind/libunwind/src/ia64/ |
H A D | Gfind_unwind_table.c | 43 char *strtab; in find_gp() local 77 strtab = (char *) edi->ei.image + str_shdr->sh_offset; in find_gp() 80 if (strcmp (strtab + shdr->sh_name, ".opd") == 0 in find_gp()
|
/third_party/node/deps/v8/src/diagnostics/ |
H A D | gdb-jit.cc | 313 void PopulateHeader(Writer::Slot<Header> header, ELFStringTable* strtab); 449 ELFStringTable* strtab) { 450 header->name = static_cast<uint32_t>(strtab->Add(name_)); 696 ELFStringTable* strtab = static_cast<ELFStringTable*>(SectionAt(1)); 697 strtab->AttachWriter(w); 700 section->PopulateHeader(headers.at(index), strtab); 703 strtab->DetachWriter(); 832 ELFStringTable* strtab = 834 strtab->AttachWriter(w); 837 WriteSymbolsList(&locals_, symbols.at(1), strtab); [all...] |
/third_party/vixl/examples/aarch32/ |
H A D | disasm-a32.cc | 124 const Elf32_Shdr* strtab, in LocateSymbols() 126 if ((symtab != NULL) && (strtab != NULL)) { in LocateSymbols() 131 reinterpret_cast<const char*>(ehdr) + strtab->sh_offset; in LocateSymbols() 274 section_locator.Locate(SHT_STRTAB, ".strtab"), in main() 122 LocateSymbols(const Elf32_Ehdr* ehdr, const Elf32_Shdr* symtab, const Elf32_Shdr* strtab, VISITOR* visitor) LocateSymbols() argument
|
/third_party/elfutils/src/ |
H A D | unstrip.c | 1323 Dwelf_Strtab *strtab) in new_shstrtab() 1325 if (strtab == NULL) in new_shstrtab() 1337 sec->strent = dwelf_strtab_add (strtab, sec->name); in new_shstrtab() 1353 unstripped_strent[i] = dwelf_strtab_add (strtab, name); in new_shstrtab() 1365 if (dwelf_strtab_finalize (strtab, strtab_data) == NULL) in new_shstrtab() 1582 Dwelf_Strtab *strtab = NULL; in copy_elided_sections() 1631 if (strtab == NULL) in copy_elided_sections() 1632 strtab = dwelf_strtab_init (true); in copy_elided_sections() 1633 sec->strent = dwelf_strtab_add (strtab, sec->name); in copy_elided_sections() 1646 strtab); in copy_elided_sections() 1318 new_shstrtab(Elf *unstripped, size_t unstripped_shnum, Elf_Data *shstrtab, size_t unstripped_shstrndx, struct section *sections, size_t stripped_shnum, Dwelf_Strtab *strtab) new_shstrtab() argument 1580 Dwelf_Strtab *strtab = NULL; copy_elided_sections() local [all...] |
/third_party/mesa3d/src/amd/common/ |
H A D | ac_rgp_elf_object_pack.c | 284 char strtab[sizeof(".strtab")]; member 299 .strtab = ".strtab", 440 sec_hdr[1].sh_name = (uintptr_t)((struct ac_rgp_elf_string_table*)0)->strtab; in ac_rgp_file_write_elf_object()
|
Completed in 11 milliseconds