Home | History | Annotate | Download | only in libelf

Lines Matching refs:elf

28 elf_getident (elf, ptr)
29 Elf *elf;
32 /* In case this is no ELF file, the handle is invalid and we return
34 if (elf == NULL || elf->kind != ELF_K_ELF)
41 /* We already read the ELF header. Return a pointer to it and store
46 return (char *) (elf->class == ELFCLASS32
47 || (offsetof (struct Elf, state.elf32.ehdr)
48 == offsetof (struct Elf, state.elf64.ehdr))
49 ? elf->state.elf32.ehdr->e_ident
50 : elf->state.elf64.ehdr->e_ident);