elf_section_by_name
sec = elf_section_by_name(elf, &ehdr, &shdr,
if (!elf_section_by_name(elf, &ehdr, &shdr, ".text", NULL))
if (elf_section_by_name(elf, &ehdr, &shdr, ".eh_frame", NULL) &&
sec = elf_section_by_name(elf, &ehdr, &shdr,
scn = elf_section_by_name(elf, &ehdr, &shdr, ".gnu_debugdata", &shndx);
ss->symtab = elf_section_by_name(elf, &ehdr, &ss->symshdr, ".symtab",
ss->dynsym = elf_section_by_name(elf, &ehdr, &ss->dynshdr, ".dynsym",
ss->opdsec = elf_section_by_name(elf, &ehdr, &ss->opdshdr, ".opd",
if (elf_section_by_name(runtime_ss->elf, &runtime_ss->ehdr, &tshdr,
found = !!elf_section_by_name(elf, &ehdr, &shdr, sec, NULL);
if (elf_section_by_name(*elf, &ehdr, &shdr, SDT_BASE_SCN, NULL))
if (elf_section_by_name(*elf, &ehdr, &shdr, SDT_PROBES_SCN, NULL))
scn = elf_section_by_name(elf, &ehdr, &shdr, SDT_NOTE_SCN, NULL);
scn = elf_section_by_name(elf, ehdr, &rela_dyn_shdr, ".rela.dyn", NULL);
scn = elf_section_by_name(elf, ehdr, &shdr, ".plt.got", NULL);
if (!elf_section_by_name(elf, &ehdr, &shdr_plt, ".plt", NULL))
elf_section_by_name(elf, &ehdr, &plt_sec_shdr, ".plt.sec", NULL)) {
scn_plt_rel = elf_section_by_name(elf, &ehdr, &shdr_rel_plt,
scn_plt_rel = elf_section_by_name(elf, &ehdr, &shdr_rel_plt,
sec = elf_section_by_name(elf, &ehdr, &shdr,
sec = elf_section_by_name(elf, &ehdr, &shdr,
sec = elf_section_by_name(elf, &ehdr, &shdr,
Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep,
if (!elf_section_by_name(elf, &ehdr, &shdr, name, NULL))