Skip to content

Calling convention mismatch between call-site and callee for architecture plugins #2952

Answered by fuzyll
Lukas-Dresel asked this question in Analysis
Discussion options

You must be logged in to vote

Sorry it took so long to get back to you on this.

My understanding is that we look at function calls and try to match them to calling conventions that have been defined for the architecture. If one isn't defined, or doesn't match, we won't be able to determine what the parameters are for the function automatically. So, for your specific use-case here, we would expect you to define calling conventions for anything common and then mark up the rest manually (e.g. with var @ reg in the function prototype). It's possible you might be able to use a Workflow in the future to do some additional analysis to catch these yourself, but I don't think we currently support that.

I think this means the b…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Lukas-Dresel
Comment options

@Lukas-Dresel
Comment options

Answer selected by fuzyll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants