Lines Matching defs:e_ident
129 uint8_t e_ident[EI_NIDENT];
130 int rc = pReader->pfnRead(pReader, &e_ident, sizeof(e_ident), 0);
133 if ( e_ident[EI_MAG0] != ELFMAG0
134 || e_ident[EI_MAG1] != ELFMAG1
135 || e_ident[EI_MAG2] != ELFMAG2
136 || e_ident[EI_MAG3] != ELFMAG3
137 || ( e_ident[EI_CLASS] != ELFCLASS32
138 && e_ident[EI_CLASS] != ELFCLASS64)
141 Log(("RTLdrELF: %s: Unsupported/invalid ident %.*Rhxs\n", pszLogName, sizeof(e_ident), e_ident));
144 if (e_ident[EI_DATA] != ELFDATA2LSB)
146 Log(("RTLdrELF: %s: ELF endian %x is unsupported\n", e_ident[EI_DATA]));
149 if (e_ident[EI_CLASS] == ELFCLASS32)