-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
identifyParameterCandidates only looks for stores #14
Comments
The |
I'm not sure how to solve that. In its current state, I expect that fcd will get the parameter right for Fcd detects call-site parameters by looking at which registers are set without being used before a function call, and this causes false negatives. If we check for registers read as well, we'll get false positives instead. (Plus, merely reading from a register really isn't an indication that callees will do it too.) |
The confusing thing is that the code is split into a callsite (https://github.com/zneak/fcd/blob/776872d/fcd/callconv/x86_64_systemv.cpp#L110) and a function analysis (https://github.com/zneak/fcd/blob/776872d/fcd/callconv/x86_64_systemv.cpp#L292) for parameters and return values. |
Yes, I see what you're saying. That's true, it leads to problems when a function with a body calls a function with a body which forwards parameters to a function without a body. |
Yes indeed. I tested a non-virtual interface, public non-virtual method calling a same-signature protected virtual one. |
The text was updated successfully, but these errors were encountered: