Home
last modified time | relevance | path

Searched refs:strtab (Results 1 – 24 of 24) sorted by relevance

/external/valgrind/main/coregrind/m_initimg/
Dinitimg-darwin.c325 char *strtab; /* string table */ in setup_client_stack() local
405 stringbase = strtab = (char *)clstack_end in setup_client_stack()
442 *ptr++ = (Addr)copy_str(&strtab, info->interp_name); in setup_client_stack()
446 *ptr++ = (Addr)copy_str(&strtab, info->interp_args); in setup_client_stack()
451 *ptr++ = (Addr)copy_str(&strtab, VG_(args_the_exename)); in setup_client_stack()
455 &strtab, in setup_client_stack()
464 *ptr = (Addr)copy_str(&strtab, *cpp); in setup_client_stack()
469 *ptr++ = (Addr)copy_str(&strtab, info->executable_path); in setup_client_stack()
474 vg_assert((strtab-stringbase) == stringsize); in setup_client_stack()
Dinitimg-linux.c393 char *strtab; /* string table */ in setup_client_stack() local
486 stringbase = strtab = (char *)clstack_end in setup_client_stack()
586 *ptr++ = (Addr)copy_str(&strtab, info->interp_name); in setup_client_stack()
590 *ptr++ = (Addr)copy_str(&strtab, info->interp_args); in setup_client_stack()
595 *ptr++ = (Addr)copy_str(&strtab, VG_(args_the_exename)); in setup_client_stack()
599 &strtab, in setup_client_stack()
608 *ptr = (Addr)copy_str(&strtab, *cpp); in setup_client_stack()
684 auxv->u.a_ptr = copy_str(&strtab, orig_auxv->u.a_ptr); in setup_client_stack()
768 auxv->u.a_ptr = strtab; in setup_client_stack()
769 VG_(memcpy)(strtab, orig_auxv->u.a_ptr, 16); in setup_client_stack()
[all …]
/external/valgrind/main/VEX/unused/
Dlinker.c421 Elf_Sym* stab, char* strtab ) in do_Elf_Rel_relocations() argument
457 symbol = sym.st_name==0 ? "(noname)" : strtab+sym.st_name; in do_Elf_Rel_relocations()
464 symbol = strtab + sym.st_name; in do_Elf_Rel_relocations()
547 Elf_Sym* stab, char* strtab ) in do_Elf_Rela_relocations() argument
592 symbol = sym.st_name==0 ? "(noname)" : strtab+sym.st_name; in do_Elf_Rela_relocations()
605 symbol = strtab + sym.st_name; in do_Elf_Rela_relocations()
710 char *strtab; in ocResolve_ELF() local
722 strtab = findElfSection ( ehdrC, SHT_STRTAB ); in ocResolve_ELF()
724 if (stab == NULL || strtab == NULL) { in ocResolve_ELF()
741 shnum, stab, strtab ); in ocResolve_ELF()
[all …]
/external/valgrind/main/VEX/switchback/
Dlinker.c515 Elf_Sym* stab, char* strtab )
551 symbol = sym.st_name==0 ? "(noname)" : strtab+sym.st_name;
558 symbol = strtab + sym.st_name;
641 Elf_Sym* stab, char* strtab )
697 symbol = sym.st_name==0 ? "(noname)" : strtab+sym.st_name;
710 symbol = strtab + sym.st_name;
868 char *strtab;
880 strtab = findElfSection ( ehdrC, SHT_STRTAB );
882 if (stab == NULL || strtab == NULL) {
899 shnum, stab, strtab );
[all …]
/external/llvm/test/Scripts/
Delf-dump93 def dump(self, shstrtab, f, strtab, dumpdata): argument
106 dumpSymtab(f, self, strtab)
121 def dumpSymtab(f, section, strtab): argument
128 print " (('st_name', %s)" % common_dump.HexDump(name), "# %r" % strtab[name[0]]
247 strtab = None
251 strtab = StringTable(f.read(section.sh_size[0]))
257 sections[index].dump(shstrtab, f, strtab, opts.dumpSectionData)
/external/llvm/lib/Archive/
DArchiveReader.cpp165 if (index < strtab.length()) { in parseMemberHeader()
166 const char* namep = strtab.c_str() + index; in parseMemberHeader()
167 const char* endp = strtab.c_str() + strtab.length(); in parseMemberHeader()
292 strtab.assign(At, mbr->getSize()); in loadArchive()
404 strtab.assign((const char*)mbr->getData(), mbr->getSize()); in loadSymbolTable()
DArchive.cpp147 : archPath(filename), members(), mapfile(0), base(0), symTab(), strtab(), in Archive()
/external/qemu/
Delf_ops.h103 struct elf_shdr *symtab, *strtab, *shdr_table = NULL; in glue() local
157 strtab = &shdr_table[symtab->sh_link]; in glue()
159 str = load_at(fd, strtab->sh_offset, strtab->sh_size); in glue()
/external/elfutils/tests/
Drun-readelf-test2.sh30 testrun_compare ../src/readelf -x .strtab testfile28 <<\EOF
/external/v8/src/
Dgdb-jit.cc339 void PopulateHeader(Writer::Slot<Header> header, StringTable* strtab);
489 StringTable* strtab) { in PopulateHeader() argument
490 header->name = strtab->Add(name_); in PopulateHeader()
719 StringTable* strtab = static_cast<StringTable*>(SectionAt(1)); in WriteSectionTable() local
720 strtab->AttachWriter(w); in WriteSectionTable()
724 sections_[i]->PopulateHeader(headers.at(i), strtab); in WriteSectionTable()
726 strtab->DetachWriter(); in WriteSectionTable()
872 StringTable* strtab = in WriteBody() local
874 strtab->AttachWriter(w); in WriteBody()
881 WriteSymbolsList(&locals_, symbols.at(1), strtab); in WriteBody()
[all …]
/external/strace/
Dutil.c1731 char *strtab, *cp; local
1746 if ((strtab = malloc((unsigned)ld.ld_symb_size)) == NULL) {
1751 (int)ld.ld_symb_size, strtab) < 0)
1754 for (cp = strtab; cp < strtab + ld.ld_symb_size; ) {
1763 if (cp < strtab + ld.ld_symb_size)
1769 (int)ld.ld_symb_size, strtab) < 0)
1772 free(strtab);
1776 free(strtab);
/external/llvm/test/Object/
Dobjdump-sectionheaders.test15 ; CHECK: 6 .strtab 00000033 0000000000000140
Dreadobj-shared-object.test71 ELF: .strtab {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} rodata
/external/elfutils/src/
Dunstrip.c1155 struct Ebl_Strtab *strtab) in new_shstrtab() argument
1157 if (strtab == NULL) in new_shstrtab()
1169 sec->strent = ebl_strtabadd (strtab, sec->name, 0); in new_shstrtab()
1184 unstripped_strent[i] = ebl_strtabadd (strtab, name, 0); in new_shstrtab()
1196 ebl_strtabfinalize (strtab, strtab_data); in new_shstrtab()
1396 struct Ebl_Strtab *strtab = NULL; in copy_elided_sections() local
1447 if (strtab == NULL) in copy_elided_sections()
1448 strtab = ebl_strtabinit (true); in copy_elided_sections()
1449 sec->strent = ebl_strtabadd (strtab, sec->name, 0); in copy_elided_sections()
1462 strtab); in copy_elided_sections()
[all …]
Dldgeneric.c3702 Elf_Data *symdata, struct Ebl_Strtab *strtab) in fillin_special_symbol() argument
3747 symstrent[nsym] = ebl_strtabadd (strtab, symst->name, 0); in fillin_special_symbol()
4317 struct Ebl_Strtab *strtab = NULL; in ld_generic_create_outfile() local
5149 strtab = ebl_strtabinit (true); in ld_generic_create_outfile()
5150 if (strtab == NULL) in ld_generic_create_outfile()
5173 nsym++, symdata, strtab); in ld_generic_create_outfile()
5181 nsym++, symdata, strtab); in ld_generic_create_outfile()
5192 fillin_special_symbol (rsym, SHN_ABS, nsym++, symdata, strtab); in ld_generic_create_outfile()
5361 symstrent[nsym] = ebl_strtabadd (strtab, in ld_generic_create_outfile()
5503 ebl_strtabfree (strtab); in ld_generic_create_outfile()
[all …]
DChangeLog57 after diagnosing bogus strtab.
/external/llvm/include/llvm/Bitcode/
DArchive.h520 std::string strtab; ///< The string table for long file names variable
/external/kernel-headers/original/linux/
Dmodule.h336 char *strtab; member
/external/valgrind/main/coregrind/m_debuginfo/
Dreadelf.c1639 UChar* strtab = NULL; in ML_() local
1654 if (ok2 && strtab == NULL) { in ML_()
1656 strtab = ((UChar*)ehdr_img) + offset; in ML_()
1664 if (stroff != -1 && strtab != NULL) { in ML_()
1665 TRACE_SYMTAB("Found soname = %s\n", strtab+stroff); in ML_()
1666 di->soname = ML_(dinfo_strdup)("di.redi.1", strtab+stroff); in ML_()
Dpriv_storage.h764 UChar strtab[SEGINFO_STRCHUNKSIZE]; member
Dstorage.c243 p = &chunk->strtab[chunk->strtab_used]; in ML_()
245 chunk->strtab[chunk->strtab_used+len] = '\0'; in ML_()
DUNUSED_STABS.txt1287 Char strtab[STRCHUNKSIZE];
/external/valgrind/main/perf/
Dtinycc.c18171 char *strtab; in rebuild_hash() local
18173 strtab = s->link->data; in rebuild_hash()
18188 h = elf_hash(strtab + sym->st_name) % nb_buckets; in rebuild_hash()
19011 Section *symtab, *strtab, *hash; in new_symtab() local
19016 strtab = new_section(s1, strtab_name, SHT_STRTAB, sh_flags); in new_symtab()
19017 put_elf_str(strtab, ""); in new_symtab()
19018 symtab->link = strtab; in new_symtab()
19867 unsigned char *strsec, *strtab; in tcc_load_object_file() local
19904 strtab = NULL; in tcc_load_object_file()
19921 strtab = load_data(fd, file_offset + sh->sh_offset, sh->sh_size); in tcc_load_object_file()
[all …]
/external/llvm/include/llvm/Object/
DELF.h2048 const char *strtab = (const char*)base() + sh->sh_offset;
2049 if (strtab[sh->sh_size - 1] != 0)