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
e82e7d96
Commit
e82e7d96
authored
Jun 07, 2000
by
Uwe Bonnes
Committed by
Alexandre Julliard
Jun 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use "CALL" and "RET" in capital letters for distinction.
parent
6ce34254
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
snoop.c
if1632/snoop.c
+3
-3
snoop.c
relay32/snoop.c
+3
-3
No files found.
if1632/snoop.c
View file @
e82e7d96
...
...
@@ -260,7 +260,7 @@ void WINAPI SNOOP16_Entry(FARPROC proc, LPBYTE args, CONTEXT86 *context) {
CS_reg
(
context
)
=
HIWORD
(
fun
->
origfun
);
DPRINTF
(
"C
all
%s.%ld: %s("
,
dll
->
name
,
ordinal
,
fun
->
name
);
DPRINTF
(
"C
ALL
%s.%ld: %s("
,
dll
->
name
,
ordinal
,
fun
->
name
);
if
(
fun
->
nrofargs
>
0
)
{
max
=
fun
->
nrofargs
;
if
(
max
>
16
)
max
=
16
;
...
...
@@ -292,7 +292,7 @@ void WINAPI SNOOP16_Return(FARPROC proc, LPBYTE args, CONTEXT86 *context) {
if
(
ret
->
args
)
{
int
i
,
max
;
DPRINTF
(
"R
et
%s.%ld: %s("
,
ret
->
dll
->
name
,
ret
->
ordinal
,
ret
->
dll
->
funs
[
ret
->
ordinal
].
name
);
DPRINTF
(
"R
ET
%s.%ld: %s("
,
ret
->
dll
->
name
,
ret
->
ordinal
,
ret
->
dll
->
funs
[
ret
->
ordinal
].
name
);
max
=
ret
->
dll
->
funs
[
ret
->
ordinal
].
nrofargs
;
if
(
max
>
16
)
max
=
16
;
...
...
@@ -309,7 +309,7 @@ void WINAPI SNOOP16_Return(FARPROC proc, LPBYTE args, CONTEXT86 *context) {
HeapFree
(
GetProcessHeap
(),
0
,
ret
->
args
);
ret
->
args
=
NULL
;
}
else
DPRINTF
(
"R
et
%s.%ld: %s() retval = %04x:%04x ret=%04x:%04x
\n
"
,
DPRINTF
(
"R
ET
%s.%ld: %s() retval = %04x:%04x ret=%04x:%04x
\n
"
,
ret
->
dll
->
name
,
ret
->
ordinal
,
ret
->
dll
->
funs
[
ret
->
ordinal
].
name
,
DX_reg
(
context
),
AX_reg
(
context
),
HIWORD
(
ret
->
origreturn
),
LOWORD
(
ret
->
origreturn
)
);
...
...
relay32/snoop.c
View file @
e82e7d96
...
...
@@ -332,7 +332,7 @@ void WINAPI SNOOP_DoEntry( CONTEXT86 *context )
EIP_reg
(
context
)
=
(
DWORD
)
fun
->
origfun
;
DPRINTF
(
"C
all
%s.%ld: %s("
,
dll
->
name
,
ordinal
,
fun
->
name
);
DPRINTF
(
"C
ALL
%s.%ld: %s("
,
dll
->
name
,
ordinal
,
fun
->
name
);
if
(
fun
->
nrofargs
>
0
)
{
max
=
fun
->
nrofargs
;
if
(
max
>
16
)
max
=
16
;
for
(
i
=
0
;
i
<
max
;
i
++
)
...
...
@@ -364,7 +364,7 @@ void WINAPI SNOOP_DoReturn( CONTEXT86 *context )
if
(
ret
->
args
)
{
int
i
,
max
;
DPRINTF
(
"R
et
%s.%ld: %s("
,
ret
->
dll
->
name
,
ret
->
ordinal
,
ret
->
dll
->
funs
[
ret
->
ordinal
].
name
);
DPRINTF
(
"R
ET
%s.%ld: %s("
,
ret
->
dll
->
name
,
ret
->
ordinal
,
ret
->
dll
->
funs
[
ret
->
ordinal
].
name
);
max
=
ret
->
dll
->
funs
[
ret
->
ordinal
].
nrofargs
;
if
(
max
>
16
)
max
=
16
;
...
...
@@ -376,7 +376,7 @@ void WINAPI SNOOP_DoReturn( CONTEXT86 *context )
HeapFree
(
GetProcessHeap
(),
0
,
ret
->
args
);
ret
->
args
=
NULL
;
}
else
DPRINTF
(
"R
et
%s.%ld: %s() retval = %08lx ret=%08lx fs=%04lx
\n
"
,
DPRINTF
(
"R
ET
%s.%ld: %s() retval = %08lx ret=%08lx fs=%04lx
\n
"
,
ret
->
dll
->
name
,
ret
->
ordinal
,
ret
->
dll
->
funs
[
ret
->
ordinal
].
name
,
EAX_reg
(
context
),(
DWORD
)
ret
->
origreturn
,
FS_reg
(
context
)
);
...
...
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