_libelf_ehdr
void *_libelf_ehdr(Elf *_e, int _elfclass, int _allocate);
if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL)
if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL)
if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
((eh = _libelf_ehdr(e, ec, 0)) == NULL)) {
if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL)
ehdr = _libelf_ehdr(e, ec, 0);
ehdr = _libelf_ehdr(e, ec, 0);
ehdr = _libelf_ehdr(e, ec, 0);
return (_libelf_ehdr(e, ELFCLASS64, 1));
return (_libelf_ehdr(e, ec, 1));
if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL)
return (_libelf_ehdr(e, ELFCLASS32, 0));
return (_libelf_ehdr(e, ELFCLASS64, 0));
if ((eh32 = _libelf_ehdr(e, ELFCLASS32, 0)) == NULL)
if ((eh64 = _libelf_ehdr(e, ELFCLASS64, 0)) == NULL)
return (_libelf_ehdr(e, ELFCLASS32, 1));
if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL)
if ((eh32 = _libelf_ehdr(e, ELFCLASS32, 0)) == NULL ||
if ((eh64 = _libelf_ehdr(e, ELFCLASS64, 0)) == NULL ||
if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL) {
if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL)