Lines Matching refs:secstrs
89 const Elf_Data *secstrs) in elf_sec__name() argument
91 return secstrs->d_buf + shdr->sh_name; in elf_sec__name()
95 const Elf_Data *secstrs) in elf_sec__is_text() argument
97 return strstr(elf_sec__name(shdr, secstrs), "text") != NULL; in elf_sec__is_text()
101 const Elf_Data *secstrs) in elf_sec__is_data() argument
103 return strstr(elf_sec__name(shdr, secstrs), "data") != NULL; in elf_sec__is_data()
106 static bool elf_sec__is_a(GElf_Shdr *shdr, Elf_Data *secstrs, in elf_sec__is_a() argument
111 return elf_sec__is_text(shdr, secstrs); in elf_sec__is_a()
113 return elf_sec__is_data(shdr, secstrs); in elf_sec__is_a()
683 Elf_Data *symstrs, *secstrs; in dso__load_sym() local
735 secstrs = elf_getdata(sec_strndx, NULL); in dso__load_sym()
736 if (secstrs == NULL) in dso__load_sym()
814 if (is_label && !elf_sec__is_a(&shdr, secstrs, map->type)) in dso__load_sym()
817 section_name = elf_sec__name(&shdr, secstrs); in dso__load_sym()