Home | History | Annotate | Download | only in libelf

Lines Matching refs:elf

40 elf_getident (Elf *elf, size_t *ptr)
42 /* In case this is no ELF file, the handle is invalid and we return
44 if (elf == NULL || elf->kind != ELF_K_ELF)
51 /* We already read the ELF header. Return a pointer to it and store
56 return (char *) (elf->class == ELFCLASS32
57 || (offsetof (struct Elf, state.elf32.ehdr)
58 == offsetof (struct Elf, state.elf64.ehdr))
59 ? elf->state.elf32.ehdr->e_ident
60 : elf->state.elf64.ehdr->e_ident);