Searched refs:shstrndx (Results 1 – 4 of 4) sorted by relevance
/tools/objtool/ |
D | elf.c | 229 size_t shstrndx, sections_nr; in read_sections() local 237 if (elf_getshdrstrndx(elf->elf, &shstrndx)) { in read_sections() 270 sec->name = elf_strptr(elf->elf, shstrndx, sec->sh.sh_name); in read_sections()
|
/tools/lib/bpf/ |
D | btf.c | 878 size_t shstrndx; in btf_parse_elf() local 904 if (elf_getshdrstrndx(elf, &shstrndx)) { in btf_parse_elf() 910 if (!elf_rawdata(elf_getscn(elf, shstrndx), NULL)) { in btf_parse_elf() 925 name = elf_strptr(elf, shstrndx, sh.sh_name); in btf_parse_elf()
|
D | libbpf.c | 472 size_t shstrndx; /* section index for section name strings */ member 1218 if (elf_getshdrstrndx(obj->efile.elf, &obj->efile.shstrndx)) { in bpf_object__elf_init() 1226 if (!elf_rawdata(elf_getscn(obj->efile.elf, obj->efile.shstrndx), NULL)) { in bpf_object__elf_init() 2814 name = elf_strptr(obj->efile.elf, obj->efile.shstrndx, off); in elf_sec_str()
|
/tools/perf/util/ |
D | symbol-elf.c | 2405 size_t shstrndx, next; in construct_sdt_notes_list() local 2414 if (elf_getshdrstrndx(elf, &shstrndx) != 0) { in construct_sdt_notes_list()
|