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
96841d03
Commit
96841d03
authored
Mar 07, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64: Push a valid return address when calling KiRaiseUserExceptionDispatcher.
parent
419e4d69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
syscall.c
dlls/wow64/syscall.c
+2
-0
No files found.
dlls/wow64/syscall.c
View file @
96841d03
...
...
@@ -278,6 +278,8 @@ static void call_raise_user_exception_dispatcher( ULONG code )
I386_CONTEXT
ctx
=
{
CONTEXT_I386_ALL
};
pBTCpuGetContext
(
GetCurrentThread
(),
GetCurrentProcess
(),
NULL
,
&
ctx
);
ctx
.
Esp
-=
sizeof
(
ULONG
);
*
(
ULONG
*
)
ULongToPtr
(
ctx
.
Esp
)
=
ctx
.
Eip
;
ctx
.
Eip
=
(
ULONG_PTR
)
pKiRaiseUserExceptionDispatcher
;
pBTCpuSetContext
(
GetCurrentThread
(),
GetCurrentProcess
(),
NULL
,
&
ctx
);
}
...
...
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