Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6f773181
Commit
6f773181
authored
Jan 23, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Store range upper boundary for dynamic unwind entry.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
620a25ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+4
-4
No files found.
dlls/ntdll/signal_x86_64.c
View file @
6f773181
...
...
@@ -338,7 +338,7 @@ struct dynamic_unwind_entry
/* memory region which matches this entry */
DWORD64
base
;
DWORD
size
;
DWORD
64
end
;
/* lookup table */
RUNTIME_FUNCTION
*
table
;
...
...
@@ -2561,7 +2561,7 @@ static RUNTIME_FUNCTION *lookup_function_info( ULONG64 pc, ULONG64 *base, LDR_MO
RtlEnterCriticalSection
(
&
dynamic_unwind_section
);
LIST_FOR_EACH_ENTRY
(
entry
,
&
dynamic_unwind_list
,
struct
dynamic_unwind_entry
,
entry
)
{
if
(
pc
>=
entry
->
base
&&
pc
<
entry
->
base
+
entry
->
size
)
if
(
pc
>=
entry
->
base
&&
pc
<
entry
->
end
)
{
*
base
=
entry
->
base
;
...
...
@@ -3457,7 +3457,7 @@ BOOLEAN CDECL RtlAddFunctionTable( RUNTIME_FUNCTION *table, DWORD count, DWORD64
return
FALSE
;
entry
->
base
=
addr
;
entry
->
size
=
table
[
count
-
1
].
EndAddress
;
entry
->
end
=
addr
+
table
[
count
-
1
].
EndAddress
;
entry
->
table
=
table
;
entry
->
table_size
=
count
*
sizeof
(
RUNTIME_FUNCTION
);
entry
->
callback
=
NULL
;
...
...
@@ -3492,7 +3492,7 @@ BOOLEAN CDECL RtlInstallFunctionTableCallback( DWORD64 table, DWORD64 base, DWOR
return
FALSE
;
entry
->
base
=
base
;
entry
->
size
=
length
;
entry
->
end
=
base
+
length
;
entry
->
table
=
(
RUNTIME_FUNCTION
*
)
table
;
entry
->
table_size
=
0
;
entry
->
callback
=
callback
;
...
...
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