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
87fe0145
Commit
87fe0145
authored
Jun 18, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Added support for indirect call with absolute address.
parent
196fb10c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
be_i386.c
programs/winedbg/be_i386.c
+19
-1
No files found.
programs/winedbg/be_i386.c
View file @
87fe0145
...
...
@@ -497,7 +497,25 @@ static unsigned be_i386_is_func_call(const void* insn, ADDRESS64* callee)
WINE_FIXME
(
"Unsupported yet call insn (0xFF 0x%02x) (SIB bytes) at %p
\n
"
,
ch
,
insn
);
return
FALSE
;
case
0x05
:
/* addr32 */
WINE_FIXME
(
"Unsupported yet call insn (0xFF 0x%02x) (addr32) at %p
\n
"
,
ch
,
insn
);
if
((
ch
&
0x38
)
==
0x10
||
/* call */
(
ch
&
0x38
)
==
0x18
)
/* lcall */
{
void
*
addr
;
if
(
!
dbg_read_memory
((
const
char
*
)
insn
+
2
,
&
addr
,
sizeof
(
addr
)))
return
FALSE
;
if
((
ch
&
0x38
)
==
0x18
)
/* lcall */
{
if
(
!
dbg_read_memory
((
const
char
*
)
addr
+
operand_size
,
&
segment
,
sizeof
(
segment
)))
return
FALSE
;
}
else
segment
=
dbg_context
.
SegCs
;
if
(
!
dbg_read_memory
((
const
char
*
)
addr
,
&
dst
,
sizeof
(
dst
)))
return
FALSE
;
callee
->
Mode
=
get_selector_type
(
dbg_curr_thread
->
handle
,
&
dbg_context
,
segment
);
callee
->
Segment
=
segment
;
callee
->
Offset
=
dst
;
return
TRUE
;
}
return
FALSE
;
default:
switch
(
ch
&
0x07
)
...
...
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