Lines Matching refs:ex
102 #define N_GETMAGIC(ex) \
103 ((((ex).a_midmag)&0xffff0000) ? \
104 (ntohl((uint32_t)((ex).a_midmag))&0xffff) : ((ex).a_midmag))
235 struct exec ex;
247 n = read(from, &ex, sizeof(ex));
248 if (n != sizeof(ex))
251 entry = ex.a_entry;
252 if (N_GETMAGIC(ex) == OMAGIC || N_GETMAGIC(ex) == NMAGIC)
253 entry += sizeof(ex);
254 else if (IS_ELF(*(Elf32_External_Ehdr *)&ex)) {
287 } else if (*(uint8_t *)&ex == 0x1f && ((uint8_t *)&ex)[1] == 0x8b) {