Home
last modified time | relevance | path

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

12

/external/elfutils/tests/
Drun-elfgetzdata.sh31 8: .strtab, NOT compressed
42 8: .strtab, NOT compressed
55 9: .strtab, NOT compressed
67 9: .strtab, NOT compressed
79 8: .strtab, NOT compressed
90 8: .strtab, NOT compressed
103 9: .strtab, NOT compressed
115 9: .strtab, NOT compressed
127 8: .strtab, NOT compressed
138 8: .strtab, NOT compressed
[all …]
Drun-readelf-z.sh40 [ 8] .strtab STRTAB 0000000000000000 00000210 0000004b 0 0 0 1
63 [ 9] .strtab STRTAB 0000000000000000 00000270 00000044 0 0 0 1
85 [ 8] .strtab STRTAB 0000000000000000 00000210 0000004b 0 0 0 1
108 [ 9] .strtab STRTAB 0000000000000000 00000270 00000044 0 0 0 1
130 [ 8] .strtab STRTAB 00000000 000170 00004b 0 0 0 1
153 [ 9] .strtab STRTAB 00000000 0001d8 000045 0 0 0 1
175 [ 8] .strtab STRTAB 00000000 000170 00004b 0 0 0 1
198 [ 9] .strtab STRTAB 00000000 0001d8 000045 0 0 0 1
Drun-elfputzdata.sh58 Lets compress 35 .strtab, size: 5727
96 Lets compress 35 .strtab, size: 5727
135 Lets compress 33 .strtab, size: 757
171 Lets compress 33 .strtab, size: 757
213 Lets compress 36 .strtab, size: 602
252 Lets compress 36 .strtab, size: 602
296 Lets compress 38 .strtab, size: 569
337 Lets compress 38 .strtab, size: 569
Drun-readelf-test2.sh22 testrun_compare ${abs_top_builddir}/src/readelf -x .strtab testfile28 <<\EOF
/external/compiler-rt/lib/cfi/
Dcfi.cc116 uptr strtab = 0, symtab = 0; in find_cfi_check_in_dso() local
121 strtab = p->d_un.d_ptr; in find_cfi_check_in_dso()
124 if (symtab > strtab) { in find_cfi_check_in_dso()
125 VReport(1, "Can not handle: symtab > strtab (%p > %zx)\n", symtab, strtab); in find_cfi_check_in_dso()
137 if (strtab >= beg && strtab < end && symtab >= beg && symtab < end) in find_cfi_check_in_dso()
144 VReport(1, "Can not handle: symtab %p, strtab %zx\n", symtab, strtab); in find_cfi_check_in_dso()
148 for (const ElfW(Sym) *p = (const ElfW(Sym) *)symtab; (ElfW(Addr))p < strtab; in find_cfi_check_in_dso()
150 char *name = (char*)(strtab + p->st_name); in find_cfi_check_in_dso()
/external/valgrind/coregrind/m_initimg/
Dinitimg-darwin.c318 HChar *strtab; /* string table */ in setup_client_stack() local
395 stringbase = strtab = (HChar *)clstack_end in setup_client_stack()
432 *ptr++ = (Addr)copy_str(&strtab, info->interp_name); in setup_client_stack()
436 *ptr++ = (Addr)copy_str(&strtab, info->interp_args); in setup_client_stack()
440 *ptr++ = (Addr)copy_str(&strtab, VG_(args_the_exename)); in setup_client_stack()
444 &strtab, in setup_client_stack()
453 *ptr = (Addr)copy_str(&strtab, *cpp); in setup_client_stack()
458 *ptr++ = (Addr)copy_str(&strtab, info->executable_path); in setup_client_stack()
463 vg_assert((strtab-stringbase) == stringsize); in setup_client_stack()
Dinitimg-linux.c397 HChar *strtab; /* string table */ in setup_client_stack() local
488 stringbase = strtab = (HChar *)clstack_end in setup_client_stack()
589 *ptr++ = (Addr)copy_str(&strtab, info->interp_name); in setup_client_stack()
593 *ptr++ = (Addr)copy_str(&strtab, info->interp_args); in setup_client_stack()
597 *ptr++ = (Addr)copy_str(&strtab, VG_(args_the_exename)); in setup_client_stack()
601 &strtab, in setup_client_stack()
610 *ptr = (Addr)copy_str(&strtab, *cpp); in setup_client_stack()
677 auxv->u.a_ptr = copy_str(&strtab, orig_auxv->u.a_ptr); in setup_client_stack()
808 auxv->u.a_ptr = strtab; in setup_client_stack()
809 VG_(memcpy)(strtab, orig_auxv->u.a_ptr, 16); in setup_client_stack()
[all …]
Dinitimg-solaris.c384 HChar *strtab; /* string table */ in setup_client_stack() local
489 strtab = stringbase; in setup_client_stack()
584 *ptr++ = (Addr)copy_str(&strtab, info->interp_name); in setup_client_stack()
588 *ptr++ = (Addr)copy_str(&strtab, info->interp_args); in setup_client_stack()
592 *ptr++ = (Addr)copy_str(&strtab, VG_(args_the_exename)); in setup_client_stack()
595 &strtab, *(HChar**) VG_(indexXA)(VG_(args_for_client), i)); in setup_client_stack()
601 *ptr = (Addr)copy_str(&strtab, *cpp); in setup_client_stack()
611 auxv->a_un.a_ptr = copy_str(&strtab, "i86pc"); in setup_client_stack()
619 auxv->a_un.a_ptr = copy_str(&strtab, resolved_exe_name); in setup_client_stack()
839 vg_assert(strtab - stringbase == stringsize); in setup_client_stack()
/external/valgrind/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/VEX/switchback/
Dlinker.c517 Elf_Sym* stab, char* strtab )
553 symbol = sym.st_name==0 ? "(noname)" : strtab+sym.st_name;
560 symbol = strtab + sym.st_name;
643 Elf_Sym* stab, char* strtab )
699 symbol = sym.st_name==0 ? "(noname)" : strtab+sym.st_name;
712 symbol = strtab + sym.st_name;
870 char *strtab;
882 strtab = findElfSection ( ehdrC, SHT_STRTAB );
884 if (stab == NULL || strtab == NULL) {
901 shnum, stab, strtab );
[all …]
/external/libunwind/src/ia64/
DGfind_unwind_table.c43 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()
/external/llvm/test/Object/
Dinvalid.test2 RUN: not llvm-objdump -s %p/Inputs/invalid-strtab-type.elf 2>&1 | FileCheck %s
3 RUN: not llvm-objdump -s %p/Inputs/invalid-strtab-size.elf 2>&1 | FileCheck %s
6 RUN: not llvm-objdump -s %p/Inputs/invalid-strtab-non-null.elf 2>&1 | FileCheck --check-prefix=NON-…
Dobjdump-sectionheaders.test15 ; CHECK: 6 .strtab 00000033 0000000000000140
Dcorrupt.test30 RUN: not llvm-readobj -dynamic-table %p/Inputs/corrupt-invalid-strtab.elf.x86-64 \
Dreadobj-shared-object.test122 ELF: Name: .strtab
/external/libunwind/src/
Delfxx.c330 char* strtab = elf_w (string_table) (ei, shdr->sh_link); in elf_w() local
331 if (!strtab) { in elf_w()
351 char* str_name = strtab + sym->st_name; in elf_w()
353 str_name < strtab) { in elf_w()
522 char *strtab; in elf_w() local
534 strtab = elf_w (string_table) (ei, ehdr->e_shstrndx); in elf_w()
535 if (!strtab) { in elf_w()
540 if (strcmp (strtab + shdr->sh_name, name) == 0) { in elf_w()
/external/v8/src/
Dgdb-jit.cc317 void PopulateHeader(Writer::Slot<Header> header, ELFStringTable* strtab);
463 ELFStringTable* strtab) { in PopulateHeader() argument
464 header->name = static_cast<uint32_t>(strtab->Add(name_)); in PopulateHeader()
707 ELFStringTable* strtab = static_cast<ELFStringTable*>(SectionAt(1)); in WriteSectionTable() local
708 strtab->AttachWriter(w); in WriteSectionTable()
712 sections_[i]->PopulateHeader(headers.at(i), strtab); in WriteSectionTable()
714 strtab->DetachWriter(); in WriteSectionTable()
863 ELFStringTable* strtab = in WriteBody() local
865 strtab->AttachWriter(w); in WriteBody()
872 WriteSymbolsList(&locals_, symbols.at(1), strtab); in WriteBody()
[all …]
/external/elfutils/src/
Dunstrip.c1217 struct Ebl_Strtab *strtab) in new_shstrtab() argument
1219 if (strtab == NULL) in new_shstrtab()
1231 sec->strent = ebl_strtabadd (strtab, sec->name, 0); in new_shstrtab()
1246 unstripped_strent[i] = ebl_strtabadd (strtab, name, 0); in new_shstrtab()
1258 ebl_strtabfinalize (strtab, strtab_data); in new_shstrtab()
1459 struct Ebl_Strtab *strtab = NULL; in copy_elided_sections() local
1510 if (strtab == NULL) in copy_elided_sections()
1511 strtab = ebl_strtabinit (true); in copy_elided_sections()
1512 sec->strent = ebl_strtabadd (strtab, sec->name, 0); in copy_elided_sections()
1525 strtab); in copy_elided_sections()
[all …]
Dldgeneric.c3692 Elf_Data *symdata, struct Ebl_Strtab *strtab) in fillin_special_symbol() argument
3737 symstrent[nsym] = ebl_strtabadd (strtab, symst->name, 0); in fillin_special_symbol()
4307 struct Ebl_Strtab *strtab = NULL; in ld_generic_create_outfile() local
5139 strtab = ebl_strtabinit (true); in ld_generic_create_outfile()
5140 if (strtab == NULL) in ld_generic_create_outfile()
5163 nsym++, symdata, strtab); in ld_generic_create_outfile()
5171 nsym++, symdata, strtab); in ld_generic_create_outfile()
5182 fillin_special_symbol (rsym, SHN_ABS, nsym++, symdata, strtab); in ld_generic_create_outfile()
5351 symstrent[nsym] = ebl_strtabadd (strtab, in ld_generic_create_outfile()
5493 ebl_strtabfree (strtab); in ld_generic_create_outfile()
[all …]
/external/ltrace/
Dltrace-elf.c210 each_symbol_in(Elf_Data *symtab, const char *strtab, size_t count, in each_symbol_in() argument
221 switch (cb(&sym, strtab + sym.st_name, data)) { in each_symbol_in()
250 = each_symbol_in(lte->symtab, lte->strtab, in elf_each_symbol()
602 &lte->symtab_count, &lte->strtab); in ltelf_read_elf()
903 Elf_Data *symtab, const char *strtab, size_t count, in populate_this_symtab() argument
949 const char *orig_name = strtab + sym.st_name; in populate_this_symtab()
1110 if (symtabs && lte->symtab != NULL && lte->strtab != NULL in populate_symtab()
1112 lte->symtab, lte->strtab, in populate_symtab()
Dltrace-elf.h57 const char *strtab; member
/external/ltrace/sysdeps/linux-gnu/ppc/
Dplt.c514 && lte->symtab != NULL && lte->strtab != NULL) { in arch_elf_init()
542 const char *name = lte->strtab + sym.st_name; in arch_elf_init()
/external/llvm/test/tools/llvm-readobj/Inputs/
Drelocs.py305 strtab = None
309 strtab = StringTable(f.read(section.sh_size))
/external/valgrind/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/elfutils/config/
Delfutils.spec.in242 - strip, unstrip: Handle ELF files with merged strtab/shstrtab

12