Message ID | 20171130203345.GG3037@localhost.localdomain (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/x86/emulator.c b/x86/emulator.c index 72cb035..a7e61ff 100644 --- a/x86/emulator.c +++ b/x86/emulator.c @@ -1104,6 +1104,8 @@ static void test_illegal_movbe(void) static void test_fetch_failure(void *mem, void *alt_insn_page) { + void *stack = alloc_page(); + inregs = (struct regs){ .rsp = (u64)stack+1024 }; trap_emulator(mem, NULL, NULL); }