Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9cd60e20
Commit
9cd60e20
authored
Jul 01, 2008
by
Peter Oberndorfer
Committed by
Alexandre Julliard
Jul 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add broken() to two test cases.
parent
d87bc052
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
exception.c
dlls/ntdll/tests/exception.c
+7
-2
No files found.
dlls/ntdll/tests/exception.c
View file @
9cd60e20
...
...
@@ -169,6 +169,11 @@ static const struct exception
0
,
5
,
STATUS_ACCESS_VIOLATION
,
2
,
{
1
,
0xfffffffe
}
},
{
{
0xa3
,
0xff
,
0xff
,
0xff
,
0xff
,
0xc3
},
/* movl %eax,0xffffffff; ret */
0
,
5
,
STATUS_ACCESS_VIOLATION
,
2
,
{
1
,
0xffffffff
}
},
/* test exception with cleared %ds and %es */
{
{
0x1e
,
0x06
,
0x31
,
0xc0
,
0x8e
,
0xd8
,
0x8e
,
0xc0
,
0xfa
,
0x07
,
0x1f
,
0xc3
},
/* push %ds; push %es; xorl %eax,%eax; mov %ax,%ds; mov %ax,%es; cli; pop %es; pop %ds; ret */
8
,
1
,
STATUS_PRIVILEGED_INSTRUCTION
,
0
},
};
static
int
got_exception
;
...
...
@@ -216,7 +221,7 @@ LONG CALLBACK rtlraiseexception_vectored_handler(EXCEPTION_POINTERS *ExceptionIn
if
(
rec
->
ExceptionCode
==
EXCEPTION_BREAKPOINT
)
{
ok
(
context
->
Eip
==
(
DWORD
)
code_mem
+
0xa
||
context
->
Eip
==
(
DWORD
)
code_mem
+
0xb
,
/* win2k3 */
broken
(
context
->
Eip
==
(
DWORD
)
code_mem
+
0xb
)
,
/* win2k3 */
"Eip at %x instead of %x or %x
\n
"
,
context
->
Eip
,
(
DWORD
)
code_mem
+
0xa
,
(
DWORD
)
code_mem
+
0xb
);
}
...
...
@@ -248,7 +253,7 @@ static DWORD rtlraiseexception_handler( EXCEPTION_RECORD *rec, EXCEPTION_REGISTR
if
(
rec
->
ExceptionCode
==
EXCEPTION_BREAKPOINT
)
{
ok
(
context
->
Eip
==
(
DWORD
)
code_mem
+
0xa
||
context
->
Eip
==
(
DWORD
)
code_mem
+
0xb
,
/* win2k3 */
broken
(
context
->
Eip
==
(
DWORD
)
code_mem
+
0xb
)
,
/* win2k3 */
"Eip at %x instead of %x or %x
\n
"
,
context
->
Eip
,
(
DWORD
)
code_mem
+
0xa
,
(
DWORD
)
code_mem
+
0xb
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment