• Home
  • Raw
  • Download

Lines Matching refs:sec

162 	Elf_Scn *sec = NULL;  in elf_addr_to_index()  local
166 while ((sec = elf_nextscn(elf, sec)) != NULL) { in elf_addr_to_index()
167 gelf_getshdr(sec, &shdr); in elf_addr_to_index()
182 Elf_Scn *sec = NULL; in elf_section_by_name() local
189 while ((sec = elf_nextscn(elf, sec)) != NULL) { in elf_section_by_name()
192 gelf_getshdr(sec, shp); in elf_section_by_name()
197 return sec; in elf_section_by_name()
362 Elf_Scn *sec; in elf_read_build_id() local
385 sec = elf_section_by_name(elf, &ehdr, &shdr, in elf_read_build_id()
387 if (sec) in elf_read_build_id()
390 sec = elf_section_by_name(elf, &ehdr, &shdr, in elf_read_build_id()
392 if (sec) in elf_read_build_id()
395 sec = elf_section_by_name(elf, &ehdr, &shdr, in elf_read_build_id()
397 if (sec) in elf_read_build_id()
404 data = elf_getdata(sec, NULL); in elf_read_build_id()
521 Elf_Scn *sec; in filename__read_debuglink() local
543 sec = elf_section_by_name(elf, &ehdr, &shdr, in filename__read_debuglink()
545 if (sec == NULL) in filename__read_debuglink()
548 data = elf_getdata(sec, NULL); in filename__read_debuglink()
810 Elf_Scn *sec, *sec_strndx; in dso__load_sym() local
844 sec = syms_ss->symtab; in dso__load_sym()
850 syms = elf_getdata(sec, NULL); in dso__load_sym()
854 sec = elf_getscn(elf, shdr.sh_link); in dso__load_sym()
855 if (sec == NULL) in dso__load_sym()
858 symstrs = elf_getdata(sec, NULL); in dso__load_sym()
951 sec = elf_getscn(runtime_ss->elf, sym.st_shndx); in dso__load_sym()
952 if (!sec) in dso__load_sym()
955 gelf_getshdr(sec, &shdr); in dso__load_sym()