Lines Matching defs:elf
30 * will then examine each elf descriptor and print the .comment section
56 char *pe_file; /* elf member name */
67 print_comment(Elf *elf, const char *file)
74 if (elf_getshdrstrndx(elf, &shstrndx) == -1) {
80 while ((scn = elf_nextscn(elf, scn)) != NULL) {
92 if (strcmp(CommentStr, elf_strptr(elf, shstrndx,
198 * Initialize the elf library, must be called before elf_begin()
218 Elf *elf;
234 if ((elf = elf_begin(fd, ELF_C_READ, 0)) == NULL) {
243 pep->pe_elf = elf;