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
7f28a1c5
Commit
7f28a1c5
authored
Jun 06, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use NtContinue() to restore context after an exception.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
95e2d05e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
12 deletions
+11
-12
signal_arm.c
dlls/ntdll/signal_arm.c
+2
-2
signal_arm64.c
dlls/ntdll/signal_arm64.c
+2
-2
signal_i386.c
dlls/ntdll/signal_i386.c
+3
-4
signal_powerpc.c
dlls/ntdll/signal_powerpc.c
+2
-2
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+2
-2
No files found.
dlls/ntdll/signal_arm.c
View file @
7f28a1c5
...
...
@@ -528,10 +528,10 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
}
if
(
call_vectored_handlers
(
rec
,
context
)
==
EXCEPTION_CONTINUE_EXECUTION
)
Nt
SetContextThread
(
GetCurrentThread
(),
context
);
Nt
Continue
(
context
,
FALSE
);
if
((
status
=
call_stack_handlers
(
rec
,
context
))
==
STATUS_SUCCESS
)
Nt
SetContextThread
(
GetCurrentThread
(),
context
);
Nt
Continue
(
context
,
FALSE
);
if
(
status
!=
STATUS_UNHANDLED_EXCEPTION
)
RtlRaiseStatus
(
status
);
return
NtRaiseException
(
rec
,
context
,
FALSE
);
...
...
dlls/ntdll/signal_arm64.c
View file @
7f28a1c5
...
...
@@ -783,10 +783,10 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
}
if
(
call_vectored_handlers
(
rec
,
context
)
==
EXCEPTION_CONTINUE_EXECUTION
)
Nt
SetContextThread
(
GetCurrentThread
(),
context
);
Nt
Continue
(
context
,
FALSE
);
if
((
status
=
call_function_handlers
(
rec
,
context
))
==
STATUS_SUCCESS
)
Nt
SetContextThread
(
GetCurrentThread
(),
context
);
Nt
Continue
(
context
,
FALSE
);
if
(
status
!=
STATUS_UNHANDLED_EXCEPTION
)
RtlRaiseStatus
(
status
);
return
NtRaiseException
(
rec
,
context
,
FALSE
);
...
...
dlls/ntdll/signal_i386.c
View file @
7f28a1c5
...
...
@@ -757,10 +757,10 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
if
(
rec
->
ExceptionCode
==
EXCEPTION_BREAKPOINT
)
context
->
Eip
--
;
if
(
call_vectored_handlers
(
rec
,
context
)
==
EXCEPTION_CONTINUE_EXECUTION
)
Nt
SetContextThread
(
GetCurrentThread
(),
context
);
Nt
Continue
(
context
,
FALSE
);
if
((
status
=
call_stack_handlers
(
rec
,
context
))
==
STATUS_SUCCESS
)
Nt
SetContextThread
(
GetCurrentThread
(),
context
);
Nt
Continue
(
context
,
FALSE
);
if
(
status
!=
STATUS_UNHANDLED_EXCEPTION
)
RtlRaiseStatus
(
status
);
return
NtRaiseException
(
rec
,
context
,
FALSE
);
...
...
@@ -1978,8 +1978,7 @@ void WINAPI DECLSPEC_HIDDEN __regs_RtlUnwind( EXCEPTION_REGISTRATION_RECORD* pEn
}
frame
=
__wine_pop_frame
(
frame
);
}
NtSetContextThread
(
GetCurrentThread
(),
context
);
NtContinue
(
context
,
FALSE
);
}
__ASM_STDCALL_FUNC
(
RtlUnwind
,
16
,
"pushl %ebp
\n\t
"
...
...
dlls/ntdll/signal_powerpc.c
View file @
7f28a1c5
...
...
@@ -372,10 +372,10 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
}
if
(
call_vectored_handlers
(
rec
,
context
)
==
EXCEPTION_CONTINUE_EXECUTION
)
Nt
SetContextThread
(
GetCurrentThread
(),
context
);
Nt
Continue
(
context
,
FALSE
);
if
((
status
=
call_stack_handlers
(
rec
,
context
))
==
STATUS_SUCCESS
)
Nt
SetContextThread
(
GetCurrentThread
(),
context
);
Nt
Continue
(
context
,
FALSE
);
if
(
status
!=
STATUS_UNHANDLED_EXCEPTION
)
RtlRaiseStatus
(
status
);
return
NtRaiseException
(
rec
,
context
,
FALSE
);
...
...
dlls/ntdll/signal_x86_64.c
View file @
7f28a1c5
...
...
@@ -2264,10 +2264,10 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
if
(
rec
->
ExceptionCode
==
EXCEPTION_BREAKPOINT
)
context
->
Rip
--
;
if
(
call_vectored_handlers
(
rec
,
context
)
==
EXCEPTION_CONTINUE_EXECUTION
)
Nt
SetContextThread
(
GetCurrentThread
(),
context
);
Nt
Continue
(
context
,
FALSE
);
if
((
status
=
call_stack_handlers
(
rec
,
context
))
==
STATUS_SUCCESS
)
Nt
SetContextThread
(
GetCurrentThread
(),
context
);
Nt
Continue
(
context
,
FALSE
);
if
(
status
!=
STATUS_UNHANDLED_EXCEPTION
)
RtlRaiseStatus
(
status
);
return
NtRaiseException
(
rec
,
context
,
FALSE
);
...
...
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