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
General issue Python:Unable to recognize calling a method through an instance member of a class #14899
Comments
|
Hi @luke10481, Can you quick-eval any of the sub-expressions to figure out where you lose your result? Here is a couple of questions I'd ask if I were to debug this:
By quick-eval'ing iteratively larger sub expressions you can investigate which expression is causing the full evaluation to give no results. |
My test result is here.After I run quick evaluation:connection.It should display three result.But just one result. If the connection() is in function,but not in class.That's no problem. |
|
Thanks for those screenshots 🙇. I talked with the Python team, and they said that they will investigate this issue more closely. Will make sure to keep you updated! |
|
Can this problem be solved through the API of codeql-python now? Do I need to wait for you to fix it? This problem will lead to some vulnerabilities that cannot be discovered. |
|
Hi @luke10481 👋 My apologies for the delayed response. The issue you have encountered here is a known limitation in Python CodeQL analysis. We will take your report into account as we prioritize and act on this gap. I am not aware of any workarounds you could employ, but now that we've had some time to consider the issue, I'll check again with the team and get back to you here. |



when evaluate """private API::Node connection()""", the query result should find """self.orm.connection()""".But the query result is none
python demo here
The text was updated successfully, but these errors were encountered: