Lines Matching refs:dt_elf
84 Elf *dt_elf; /* libelf handle */ member
252 for (scn = elf_nextscn(tgt->dt_elf, NULL); scn != NULL; in construct_symtab()
253 scn = elf_nextscn(tgt->dt_elf, scn)) { in construct_symtab()
269 if ((scn = elf_getscn(tgt->dt_elf, tgt->dt_symidx)) == NULL) in construct_symtab()
279 tgt->dt_symcount = symdata->d_size / gelf_fsize(tgt->dt_elf, ELF_T_SYM, in construct_symtab()
353 if ((sym->se_name = elf_strptr(tgt->dt_elf, shdr.sh_link, in construct_symtab()
488 if (current->dt_elf != NULL) { in dis_tgt_create()
495 current->dt_elf = elf; in dis_tgt_create()
531 if (tgt->dt_elf == NULL) { in dis_tgt_create()
568 (void) gelf_getehdr(tgt->dt_elf, ehdr); in dis_tgt_ehdr()
591 if (current->dt_elf) in dis_tgt_destroy()
592 (void) elf_end(current->dt_elf); in dis_tgt_destroy()
599 if (tgt->dt_elf) in dis_tgt_destroy()
600 (void) elf_end(tgt->dt_elf); in dis_tgt_destroy()
760 for (scn = elf_nextscn(tgt->dt_elf, NULL), idx = 1; scn != NULL; in dis_tgt_section_iter()
761 scn = elf_nextscn(tgt->dt_elf, scn), idx++) { in dis_tgt_section_iter()
769 if ((sdata.ds_name = elf_strptr(tgt->dt_elf, tgt->dt_shstrndx, in dis_tgt_section_iter()
887 if ((scn = elf_getscn(tgt->dt_elf, sym->se_shndx)) == NULL || in dis_tgt_function_iter()