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
e40430cd
Commit
e40430cd
authored
Jan 22, 2012
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix a couple of bugs in function table interpretation for x86-64 processors.
parent
82d961e3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cpu_x86_64.c
dlls/dbghelp/cpu_x86_64.c
+4
-4
No files found.
dlls/dbghelp/cpu_x86_64.c
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
:
...
...
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