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
dd0e9fe9
Commit
dd0e9fe9
authored
May 31, 2014
by
Sebastian Lackner
Committed by
Alexandre Julliard
Jun 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix exception test failures on x86_64.
parent
1d6bf952
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+1
-0
exception.c
dlls/ntdll/tests/exception.c
+4
-4
No files found.
dlls/ntdll/signal_x86_64.c
View file @
dd0e9fe9
...
...
@@ -2684,6 +2684,7 @@ PRUNTIME_FUNCTION WINAPI RtlLookupFunctionEntry( ULONG64 pc, ULONG64 *base, UNWI
func
=
lookup_function_info
(
pc
,
base
,
&
module
);
if
(
!
func
)
{
*
base
=
0
;
if
(
module
)
WARN
(
"no exception table found in module %p pc %lx
\n
"
,
module
->
BaseAddress
,
pc
);
else
...
...
dlls/ntdll/tests/exception.c
View file @
dd0e9fe9
...
...
@@ -1487,8 +1487,8 @@ static void test_dynamic_unwind(void)
func
=
pRtlLookupFunctionEntry
(
(
ULONG_PTR
)
code_mem
+
code_offset
+
16
,
&
base
,
NULL
);
ok
(
func
==
NULL
,
"RtlLookupFunctionEntry returned unexpected function, expected: NULL, got: %p
\n
"
,
func
);
ok
(
base
==
0xdeadbeef
,
"RtlLookupFunctionEntry modified base address, expected: 0
xdeadbeef
, got: %lx
\n
"
,
base
);
ok
(
!
base
||
broken
(
base
==
0xdeadbeef
)
,
"RtlLookupFunctionEntry modified base address, expected: 0, got: %lx
\n
"
,
base
);
/* Test with pointer inside of our function */
base
=
0xdeadbeef
;
...
...
@@ -1546,8 +1546,8 @@ static void test_dynamic_unwind(void)
func
=
pRtlLookupFunctionEntry
(
(
ULONG_PTR
)
code_mem
+
code_offset
+
32
,
&
base
,
NULL
);
ok
(
func
==
NULL
,
"RtlLookupFunctionEntry returned unexpected function, expected: NULL, got: %p
\n
"
,
func
);
ok
(
base
==
0xdeadbeef
,
"RtlLookupFunctionEntry modified base address, expected: 0
xdeadbeef
, got: %lx
\n
"
,
base
);
ok
(
!
base
||
broken
(
base
==
0xdeadbeef
)
,
"RtlLookupFunctionEntry modified base address, expected: 0, got: %lx
\n
"
,
base
);
ok
(
!
count
,
"RtlLookupFunctionEntry issued %d unexpected calls to dynamic_unwind_callback
\n
"
,
count
);
...
...
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