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
18986ee0
Commit
18986ee0
authored
May 12, 2012
by
Eric Pouech
Committed by
Alexandre Julliard
May 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Also recognize 'rep ret' as a valid return insn for i386 as we did for x86_64.
parent
35e66342
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
be_i386.c
programs/winedbg/be_i386.c
+5
-0
No files found.
programs/winedbg/be_i386.c
View file @
18986ee0
...
...
@@ -354,6 +354,11 @@ static unsigned be_i386_is_function_return(const void* insn)
BYTE
ch
;
if
(
!
dbg_read_memory
(
insn
,
&
ch
,
sizeof
(
ch
)))
return
FALSE
;
if
(
ch
==
0xF3
)
/* REP */
{
insn
=
(
const
char
*
)
insn
+
1
;
if
(
!
dbg_read_memory
(
insn
,
&
ch
,
sizeof
(
ch
)))
return
FALSE
;
}
return
(
ch
==
0xC2
)
||
(
ch
==
0xC3
);
}
...
...
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