Skip to content

Commit 7420c5a

Browse files
committed
[INTERP] 0F 09 is a GPF not a Segfault
1 parent 9a5a8fe commit 7420c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/emu/x64run0f.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ uintptr_t Run0F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step)
194194
case 0x09: /* WBINVD */
195195
// this is a privilege opcode...
196196
#ifndef TEST_INTERPRETER
197-
EmitSignal(emu, X64_SIGSEGV, (void*)R_RIP, 0);
197+
EmitSignal(emu, X64_SIGSEGV, (void*)R_RIP, 0xbad0);
198198
#endif
199199
break;
200200

0 commit comments

Comments
 (0)