Get the ident array, so we can figure out * endian-ness, word size, and in future other useful * parameters */
| 117 | * parameters |
| 118 | */ |
| 119 | static void |
| 120 | elf_eident(struct buffer *input, Elf64_Ehdr *ehdr) |
| 121 | { |
| 122 | bgets(input, ehdr->e_ident, sizeof(ehdr->e_ident)); |
| 123 | } |
| 124 | |
| 125 | |
| 126 | static int |