Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
e40430cd
Commit
e40430cd
authored
13 years ago
by
eric pouech
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
dbghelp: Fix a couple of bugs in function table interpretation for x86-64 processors.
parent
82d961e3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/dbghelp/cpu_x86_64.c
+4
-4
4 additions, 4 deletions
dlls/dbghelp/cpu_x86_64.c
with
4 additions
and
4 deletions
dlls/dbghelp/cpu_x86_64.c
+
4
−
4
View file @
e40430cd
...
...
@@ -433,22 +433,22 @@ static BOOL interpret_function_table_entry(struct cpu_stack_walk* csw,
break
;
case
UWOP_SAVE_NONVOL
:
/* movq %reg,n(%rsp) */
off
=
newframe
+
*
(
USHORT
*
)
&
info
->
UnwindCode
[
i
+
1
]
*
8
;
if
(
!
sw_read_mem
(
csw
,
context
->
Rsp
,
&
value
,
sizeof
(
DWORD64
)))
return
FALSE
;
if
(
!
sw_read_mem
(
csw
,
off
,
&
value
,
sizeof
(
DWORD64
)))
return
FALSE
;
set_int_reg
(
context
,
info
->
UnwindCode
[
i
].
OpInfo
,
value
);
break
;
case
UWOP_SAVE_NONVOL_FAR
:
/* movq %reg,nn(%rsp) */
off
=
newframe
+
*
(
DWORD
*
)
&
info
->
UnwindCode
[
i
+
1
];
if
(
!
sw_read_mem
(
csw
,
context
->
Rsp
,
&
value
,
sizeof
(
DWORD64
)))
return
FALSE
;
if
(
!
sw_read_mem
(
csw
,
off
,
&
value
,
sizeof
(
DWORD64
)))
return
FALSE
;
set_int_reg
(
context
,
info
->
UnwindCode
[
i
].
OpInfo
,
value
);
break
;
case
UWOP_SAVE_XMM128
:
/* movaps %xmmreg,n(%rsp) */
off
=
newframe
+
*
(
USHORT
*
)
&
info
->
UnwindCode
[
i
+
1
]
*
16
;
if
(
!
sw_read_mem
(
csw
,
context
->
Rsp
,
&
floatvalue
,
sizeof
(
M128A
)))
return
FALSE
;
if
(
!
sw_read_mem
(
csw
,
off
,
&
floatvalue
,
sizeof
(
M128A
)))
return
FALSE
;
set_float_reg
(
context
,
info
->
UnwindCode
[
i
].
OpInfo
,
floatvalue
);
break
;
case
UWOP_SAVE_XMM128_FAR
:
/* movaps %xmmreg,nn(%rsp) */
off
=
newframe
+
*
(
DWORD
*
)
&
info
->
UnwindCode
[
i
+
1
];
if
(
!
sw_read_mem
(
csw
,
context
->
Rsp
,
&
floatvalue
,
sizeof
(
M128A
)))
return
FALSE
;
if
(
!
sw_read_mem
(
csw
,
off
,
&
floatvalue
,
sizeof
(
M128A
)))
return
FALSE
;
set_float_reg
(
context
,
info
->
UnwindCode
[
i
].
OpInfo
,
floatvalue
);
break
;
case
UWOP_PUSH_MACHFRAME
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment