Lines Matching defs:current
420 dis_tgt_t *tgt, *current;
446 current = tgt;
488 if (current->dt_elf != NULL) {
492 current->dt_next = next;
493 current = next;
495 current->dt_elf = elf;
496 current->dt_arhdr = arhdr;
498 if (elf_getshdrstrndx(elf, ¤t->dt_shstrndx) == -1) {
512 current->dt_shnmap = safe_malloc(sizeof (dis_shnmap_t) *
514 current->dt_shncount = shnum;
517 dis_tgt_section_iter(current, tgt_scn_init, &idx);
518 current->dt_filename = file;
520 create_addrmap(current);
521 if (current->dt_symidx != 0)
522 construct_symtab(current);
586 dis_tgt_t *current, *next;
588 current = tgt->dt_next;
589 while (current != NULL) {
590 next = current->dt_next;
591 if (current->dt_elf)
592 (void) elf_end(current->dt_elf);
593 if (current->dt_symtab)
594 free(current->dt_symtab);
595 free(current);
596 current = next;
639 * unecessary lookups. This flag should be used for resolving the current PC,
640 * as the majority of addresses stay within the current function.
833 * Return the name of the current section.