Lines Matching defs:elf
31 Elf *elf;
67 elf = elf_begin (fd, ELF_C_READ, NULL);
68 if (elf == NULL)
70 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1));
74 if (elf_kind (elf) != ELF_K_ELF)
76 puts ("not a valid ELF file");
87 scn = elf_getscn (elf, cnt);
108 / gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT));
156 elf_end (elf);