Lines Matching refs:uSign
80 } uSign;
81 int rc = pReader->pfnRead(pReader, &uSign, sizeof(uSign), 0);
85 if ( uSign.au16[0] != IMAGE_DOS_SIGNATURE
86 && uSign.u32 != IMAGE_NT_SIGNATURE
87 && uSign.u32 != IMAGE_ELF_SIGNATURE
88 && uSign.au16[0] != IMAGE_LX_SIGNATURE)
90 Log(("rtldrOpenWithReader: %s: unknown magic %#x / '%.4s\n", pReader->pfnLogName(pReader), uSign.u32, &uSign.ach[0]));
95 if (uSign.au16[0] == IMAGE_DOS_SIGNATURE)
106 rc = pReader->pfnRead(pReader, &uSign, sizeof(uSign), offHdr);
109 if ( uSign.u32 != IMAGE_NT_SIGNATURE
110 && uSign.au16[0] != IMAGE_LX_SIGNATURE
111 && uSign.au16[0] != IMAGE_LE_SIGNATURE
112 && uSign.au16[0] != IMAGE_NE_SIGNATURE)
114 Log(("rtldrOpenWithReader: %s: unknown new magic %#x / '%.4s\n", pReader->pfnLogName(pReader), uSign.u32, &uSign.ach[0]));
122 if (uSign.u32 == IMAGE_NT_SIGNATURE)
128 else if (uSign.u32 == IMAGE_ELF_SIGNATURE)
134 else if (uSign.au16[0] == IMAGE_LX_SIGNATURE)
140 else if (uSign.au16[0] == IMAGE_LE_SIGNATURE)
146 else if (uSign.au16[0] == IMAGE_NE_SIGNATURE)
152 else if (uSign.au16[0] == IMAGE_DOS_SIGNATURE)
158 else if (/* uSign.u32 == IMAGE_AOUT_A_SIGNATURE
159 || uSign.u32 == IMAGE_AOUT_Z_SIGNATURE*/ /** @todo find the aout magics in emx or binutils. */
169 Log(("rtldrOpenWithReader: %s: the format isn't implemented %#x / '%.4s\n", pReader->pfnLogName(pReader), uSign.u32, &uSign.ach[0]));