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
33c3990e
Commit
33c3990e
authored
Jan 25, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Apr 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix various bugs RtlUnwindEx on x86_64.
parent
09aec598
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+4
-3
No files found.
dlls/ntdll/signal_x86_64.c
View file @
33c3990e
...
...
@@ -1407,8 +1407,8 @@ static NTSTATUS dwarf_virtual_unwind( ULONG64 ip, ULONG64 *frame,CONTEXT *contex
TRACE
(
"fde %p len %x personality %p lsda %p code %lx-%lx
\n
"
,
fde
,
fde
->
length
,
*
handler
,
*
handler_data
,
info
.
ip
,
code_end
);
execute_cfa_instructions
(
ptr
,
end
,
ip
,
&
info
);
apply_frame_state
(
context
,
&
info
.
state
);
*
frame
=
context
->
Rsp
;
apply_frame_state
(
context
,
&
info
.
state
);
TRACE
(
"next function rip=%016lx
\n
"
,
context
->
Rip
);
TRACE
(
" rax=%016lx rbx=%016lx rcx=%016lx rdx=%016lx
\n
"
,
...
...
@@ -3214,6 +3214,7 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
}
else
/* hack: call builtin handlers registered in the tib list */
{
DWORD64
backup_frame
=
dispatch
.
EstablisherFrame
;
while
((
ULONG64
)
teb_frame
<
new_context
.
Rsp
&&
(
ULONG64
)
teb_frame
<
(
ULONG64
)
end_frame
)
{
TRACE
(
"found builtin frame %p handler %p
\n
"
,
teb_frame
,
teb_frame
->
Handler
);
...
...
@@ -3222,10 +3223,10 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
teb_frame
=
__wine_pop_frame
(
teb_frame
);
}
if
((
ULONG64
)
teb_frame
==
(
ULONG64
)
end_frame
&&
(
ULONG64
)
end_frame
<
new_context
.
Rsp
)
break
;
dispatch
.
EstablisherFrame
=
new_context
.
Rsp
;
dispatch
.
EstablisherFrame
=
backup_frame
;
}
if
(
context
->
Rsp
==
(
ULONG64
)
end_frame
)
break
;
if
(
dispatch
.
EstablisherFrame
==
(
ULONG64
)
end_frame
)
break
;
*
context
=
new_context
;
}
...
...
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