Lines Matching defs:elf
47 print_comment(Elf *elf, const char *file)
57 if (elf_getshdrstrndx(elf, &shstrndx) == -1) {
63 while ((scn = elf_nextscn(elf, scn)) != NULL) {
74 if (strcmp(CommentStr, elf_strptr(elf, shstrndx,
108 process_elf(Elf *elf, char *file, int fd, int member)
113 switch (elf_kind(elf)) {
119 print_comment(elf, file);
130 while ((_elf = elf_begin(fd, cmd, elf)) != NULL) {
154 file, elf_kind(elf));
170 * Initialize the elf library, must be called before elf_begin()
181 Elf *elf;
194 if ((elf = elf_begin(fd, ELF_C_READ, 0)) == NULL) {
202 * Process each elf descriptor.
204 process_elf(elf, elf_fname, fd, 0);
205 (void) elf_end(elf);