elf_kind
Elf_Kind elf_kind(Elf *_elf);
if (elf_kind(e) == ELF_K_ELF) {
if (elf_kind(elf) != ELF_K_ELF) {
if (elf_kind(e) != ELF_K_ELF)