Kernel: Make another kernel debugger test to pass
Vitaliy Margolen
wine-patch at kievinfo.com
Sun Aug 14 08:35:50 CDT 2005
Address of int 1 and int 2 handlers should be close to each-other. Some programs
using this test to detect kernel debuggers, like SICE.
Vitaliy Margolen
changelog:
dlls/kernel/instr.c
Make another kernel debugger test to pass
-------------- next part --------------
Index: dlls/kernel/instr.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/instr.c,v
retrieving revision 1.22
diff -u -p -r1.22 instr.c
--- dlls/kernel/instr.c 31 May 2005 13:28:42 -0000 1.22
+++ dlls/kernel/instr.c 14 Aug 2005 13:30:14 -0000
@@ -715,6 +715,7 @@ DWORD INSTR_EmulateInstruction( EXCEPTIO
if (offset <= idtr.limit + 1 - (long_op ? 4 : 2))
{
idt[1].LimitLow = 0x100; /* FIXME */
+ idt[2].LimitLow = 0x11E; /* FIXME */
idt[3].LimitLow = 0x500; /* FIXME */
store_reg( context, instr[1], (BYTE *)&idt + offset, long_op );
context->Eip += prefixlen + len + 1;
More information about the wine-patches
mailing list