ntdll/tests: Fix exception test failure on Win7.
This commit is contained in:
parent
78d413d424
commit
bc6f37ac00
|
@ -129,11 +129,11 @@ static const struct exception
|
||||||
{ { 0x0e, 0x17, 0x58, 0xc3 }, /* 18: pushl %cs; popl %ss; popl %eax; ret */
|
{ { 0x0e, 0x17, 0x58, 0xc3 }, /* 18: pushl %cs; popl %ss; popl %eax; ret */
|
||||||
1, 1, STATUS_ACCESS_VIOLATION, 2, { 0, 0xffffffff } },
|
1, 1, STATUS_ACCESS_VIOLATION, 2, { 0, 0xffffffff } },
|
||||||
|
|
||||||
/* 19: test overlong instruction (limit is 16 bytes) */
|
/* 19: test overlong instruction (limit is 15 bytes, 5 on Win7) */
|
||||||
{ { 0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0xfa,0xc3 },
|
{ { 0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0xfa,0xc3 },
|
||||||
0, 16, STATUS_ILLEGAL_INSTRUCTION, 0 },
|
0, 16, STATUS_ILLEGAL_INSTRUCTION, 0 },
|
||||||
{ { 0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0xfa,0xc3 },
|
{ { 0x64,0x64,0x64,0x64,0xfa,0xc3 },
|
||||||
0, 15, STATUS_PRIVILEGED_INSTRUCTION, 0 },
|
0, 5, STATUS_PRIVILEGED_INSTRUCTION, 0 },
|
||||||
|
|
||||||
/* test invalid interrupt */
|
/* test invalid interrupt */
|
||||||
{ { 0xcd, 0xff, 0xc3 }, /* 21: int $0xff; ret */
|
{ { 0xcd, 0xff, 0xc3 }, /* 21: int $0xff; ret */
|
||||||
|
|
Loading…
Reference in New Issue