Home | History | Annotate | Download | only in libelf

Lines Matching refs:Elf

61 elf_getident (elf, ptr)
62 Elf *elf;
65 /* In case this is no ELF file, the handle is invalid and we return
67 if (elf == NULL || elf->kind != ELF_K_ELF)
74 /* We already read the ELF header. Return a pointer to it and store
79 return (char *) (elf->class == ELFCLASS32
80 || (offsetof (struct Elf, state.elf32.ehdr)
81 == offsetof (struct Elf, state.elf64.ehdr))
82 ? elf->state.elf32.ehdr->e_ident
83 : elf->state.elf64.ehdr->e_ident);