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
39304daf
Commit
39304daf
authored
Jan 18, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Jan 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix exception list offset in call_user_mode_callback / user_mode_callback_return.
parent
c086a7eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
signal_x86_64.c
dlls/ntdll/unix/signal_x86_64.c
+2
-2
No files found.
dlls/ntdll/unix/signal_x86_64.c
View file @
39304daf
...
...
@@ -1591,7 +1591,7 @@ __ASM_GLOBAL_FUNC( call_user_mode_callback,
"movq %rax,0xa8(%rsp)
\n\t
"
/* frame->syscall_cfa */
"movq 0x328(%r8),%r10
\n\t
"
/* amd64_thread_data()->syscall_frame */
"movq (%r8),%rax
\n\t
"
/* NtCurrentTeb()->Tib.ExceptionList */
"movq %rax,0x40
8
(%rsp)
\n\t
"
"movq %rax,0x40
0
(%rsp)
\n\t
"
"movl 0xb0(%r10),%r14d
\n\t
"
/* prev_frame->syscall_flags */
"movl %r14d,0xb0(%rsp)
\n\t
"
/* frame->syscall_flags */
"movq %r10,0xa0(%rsp)
\n\t
"
/* frame->prev_frame */
...
...
@@ -1624,7 +1624,7 @@ __ASM_GLOBAL_FUNC( user_mode_callback_return,
__ASM_CFI
(
".cfi_rel_offset %r13,-0x18
\n\t
"
)
__ASM_CFI
(
".cfi_rel_offset %r14,-0x20
\n\t
"
)
__ASM_CFI
(
".cfi_rel_offset %r15,-0x28
\n\t
"
)
"movq 0x40
8
(%r10),%rax
\n\t
"
/* exception list */
"movq 0x40
0
(%r10),%rax
\n\t
"
/* exception list */
"movq %rax,0(%rcx)
\n\t
"
/* teb->Tib.ExceptionList */
"movq -0x38(%rbp),%r10
\n\t
"
/* ret_ptr */
"movq -0x40(%rbp),%r11
\n\t
"
/* ret_len */
...
...
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