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
cb86bb92
Commit
cb86bb92
authored
Dec 16, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Disable relay for non-standard fastcall parameters.
parent
df31d3c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
parser.c
tools/winebuild/parser.c
+3
-10
No files found.
tools/winebuild/parser.c
View file @
cb86bb92
...
...
@@ -309,16 +309,9 @@ static int parse_spec_arguments( ORDDEF *odp, DLLSPEC *spec, int optional )
error
(
"A fastcall function must use the stdcall convention
\n
"
);
return
0
;
}
if
(
!
i
||
(
odp
->
u
.
func
.
args
[
0
]
!=
ARG_PTR
&&
odp
->
u
.
func
.
args
[
0
]
!=
ARG_LONG
))
{
error
(
"First argument of a fastcall function must be a pointer or integer
\n
"
);
return
0
;
}
if
(
i
>
1
&&
odp
->
u
.
func
.
args
[
1
]
!=
ARG_PTR
&&
odp
->
u
.
func
.
args
[
1
]
!=
ARG_LONG
)
{
error
(
"Second argument of a fastcall function must be a pointer or integer
\n
"
);
return
0
;
}
if
((
i
&&
odp
->
u
.
func
.
args
[
0
]
!=
ARG_PTR
&&
odp
->
u
.
func
.
args
[
0
]
!=
ARG_LONG
)
||
(
i
>
1
&&
odp
->
u
.
func
.
args
[
1
]
!=
ARG_PTR
&&
odp
->
u
.
func
.
args
[
1
]
!=
ARG_LONG
))
odp
->
flags
|=
FLAG_NORELAY
;
/* no relay debug possible for non-standard fastcall args */
}
if
(
odp
->
flags
&
FLAG_SYSCALL
)
{
...
...
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