/external/elfutils/src/ |
D | objdump.c | 363 size_t shstrndx) in show_relocs_rel() argument 426 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name)); in show_relocs_rel() 436 size_t shstrndx) in show_relocs_rela() argument 499 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name)); in show_relocs_rela() 511 section_match (Elf *elf, uint32_t scnndx, GElf_Shdr *shdr, size_t shstrndx) in section_match() argument 523 elf_strptr (elf, shstrndx, shdr->sh_name)) == 0) in section_match() 541 show_relocs (Ebl *ebl, const char *fname, uint32_t shstrndx) in show_relocs() argument 556 if (! section_match (ebl->elf, elf_ndxscn (scn), shdr, shstrndx)) in show_relocs() 566 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name), in show_relocs() 600 symshdr->sh_link, shstrndx); in show_relocs() [all …]
|
D | readelf.c | 823 size_t shstrndx; in print_shdr() local 832 if (unlikely (elf_getshstrndx (ebl->elf, &shstrndx) < 0)) in print_shdr() 891 elf_strptr (ebl->elf, shstrndx, shdr->sh_name) in print_shdr() 970 size_t shstrndx; in print_phdr() local 971 if (unlikely (elf_getshstrndx (ebl->elf, &shstrndx) < 0)) in print_phdr() 1075 elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in print_phdr() 1111 size_t shstrndx; in handle_scngrp() local 1112 if (unlikely (elf_getshstrndx (ebl->elf, &shstrndx) < 0)) in handle_scngrp() 1130 elf_strptr (ebl->elf, shstrndx, shdr->sh_name), in handle_scngrp() 1146 && (str = elf_strptr (ebl->elf, shstrndx, grpshdr->sh_name)) in handle_scngrp() [all …]
|
D | size.c | 415 size_t shstrndx; in show_sysv() local 416 if (unlikely (elf_getshstrndx (elf, &shstrndx) < 0)) in show_sysv() 433 (int) strlen (elf_strptr (elf, shstrndx, in show_sysv() 464 maxlen, elf_strptr (elf, shstrndx, shdr->sh_name), in show_sysv() 489 size_t shstrndx; in show_sysv_one_line() local 490 if (unlikely (elf_getshstrndx (elf, &shstrndx) < 0)) in show_sysv_one_line() 520 elf_strptr (elf, shstrndx, shdr->sh_name)); in show_sysv_one_line()
|
D | nm.c | 737 size_t shstrndx; in show_symbols_sysv() local 738 if (elf_getshstrndx (ebl->elf, &shstrndx) < 0) in show_symbols_sysv() 751 char *name = elf_strptr (ebl->elf, shstrndx, in show_symbols_sysv() 999 size_t shstrndx; in show_symbols() local 1000 if (elf_getshstrndx (ebl->elf, &shstrndx) < 0) in show_symbols() 1013 fullname, elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_symbols() 1017 fullname, elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_symbols()
|
D | elflint.c | 129 static uint32_t shstrndx; variable 326 return elf_strptr (ebl->elf, shstrndx, shdr->sh_name); in section_name() 427 shstrndx = ehdr->e_shstrndx; in check_elf_header() 462 shstrndx = shdr->sh_link; in check_elf_header() 464 else if (shstrndx >= shnum) in check_elf_header() 2225 hash_idx, elf_strptr (ebl->elf, shstrndx, hash_shdr->sh_name), in compare_hash_gnu_hash() 2227 elf_strptr (ebl->elf, shstrndx, gnu_hash_shdr->sh_name)); in compare_hash_gnu_hash() 2303 elf_strptr (ebl->elf, shstrndx, gnu_hash_shdr->sh_name)); in compare_hash_gnu_hash() 2306 hash_idx, elf_strptr (ebl->elf, shstrndx, hash_shdr->sh_name)); in compare_hash_gnu_hash() 2315 elf_strptr (ebl->elf, shstrndx, gnu_hash_shdr->sh_name), in compare_hash_gnu_hash() [all …]
|
D | ldgeneric.c | 667 fileinfo->shstrndx, in check_definition() 692 oldfile->shstrndx, in check_definition() 843 elf_strptr (fileinfo->elf, fileinfo->shstrndx, in find_section_group() 888 elf_strptr (fileinfo->elf, fileinfo->shstrndx, shdr->sh_name)); in mark_section_group() 893 elf_strptr (fileinfo->elf, fileinfo->shstrndx, in mark_section_group() 899 fileinfo->shstrndx, in mark_section_group() 990 fileinfo->shstrndx, in add_section() 1004 search.name = elf_strptr (fileinfo->elf, fileinfo->shstrndx, shdr->sh_name); in add_section() 1306 elf_strptr (fileinfo->elf, fileinfo->shstrndx, in add_relocatable_file() 1317 elf_strptr (fileinfo->elf, fileinfo->shstrndx, in add_relocatable_file() [all …]
|
D | strip.c | 387 size_t shstrndx; in handle_elf() local 480 if (unlikely (elf_getshstrndx (elf, &shstrndx) < 0)) in handle_elf() 577 shdr_info[cnt].name = elf_strptr (elf, shstrndx, in handle_elf() 936 shdr_info[shstrndx].idx = 0; in handle_elf()
|
D | ld.h | 151 size_t shstrndx; member
|
D | unstrip.c | 628 size_t shnum, size_t shstrndx, in check_symtab_section_symbols() argument 639 return add_new_section_symbols (oscn, n, elf, rel, scn, shstrndx); in check_symtab_section_symbols()
|
/external/elfutils/libelf/ |
D | elf32_checksum.c | 83 size_t shstrndx; variable 93 if (INTUSE(elf_getshstrndx) (elf, &shstrndx) < 0) 134 INTUSE(elf_strptr) (elf, shstrndx, shdr->sh_name),
|
/external/elfutils/libdwfl/ |
D | relocate.c | 59 __libdwfl_relocate_value (Dwfl_Module *mod, Elf *elf, size_t *shstrndx, in __libdwfl_relocate_value() argument 72 if (*shstrndx == SHN_UNDEF in __libdwfl_relocate_value() 73 && unlikely (elf_getshstrndx (elf, shstrndx) < 0)) in __libdwfl_relocate_value() 76 const char *name = elf_strptr (elf, *shstrndx, refshdr->sh_name); in __libdwfl_relocate_value() 284 size_t shstrndx, struct reloc_symtab_cache *reloc_symtab, in relocate_section() argument 291 const char *tname = elf_strptr (relocated, shstrndx, tshdr->sh_name); in relocate_section() 618 size_t shstrndx; in __libdwfl_relocate_section() local 619 if (elf_getshstrndx (relocated, &shstrndx) < 0) in __libdwfl_relocate_section() 624 gelf_getehdr (relocated, &ehdr_mem), shstrndx, in __libdwfl_relocate_section()
|
D | derelocate.c | 96 size_t shstrndx; in cache_sections() local 97 if (unlikely (elf_getshstrndx (mod->main.elf, &shstrndx) < 0)) in cache_sections() 116 if (__libdwfl_relocate_value (mod, mod->main.elf, &shstrndx, in cache_sections() 127 const char *name = elf_strptr (mod->main.elf, shstrndx, in cache_sections()
|
D | dwfl_module_getdwarf.c | 147 size_t shstrndx; in find_debuglink() local 148 if (elf_getshstrndx (elf, &shstrndx) < 0) in find_debuglink() 159 const char *name = elf_strptr (elf, shstrndx, shdr->sh_name); in find_debuglink()
|
/external/elfutils/po/ |
D | elfutils.pot | 3913 "overflow in shstrndx\n"
|