You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to use the 'pointsTo' approach for some basic control-flow-based queries (please let me know if there's a better approach to find 'all statements reachable from a function entry-point'), I've noticed that currently, some calls are incorrectly picked up without any value to point to.
Every call I've marked here as 'broken' is returned by the query as not having any Value to point to, whereas the other calls are correctly identified and associated with their target.
I am using:
CodeQL CLI 2.21.0
CodeQL VSCode extension 1.17.2
codeql/python-all@4.0.4
Python extractor 1.22.1
The text was updated successfully, but these errors were encountered:
Hello @mckirk
The pointsTo analysis API is not really supported or maintained any more.
For function call resolution, unfortunately the new call graph does not yet have a stable public-facing API, partly because direct call resolution is rarely needed; in favor of data flow / taint tracking. But if you do need it, this comment shows how to dig out the new call resolution predicate.
While trying to use the 'pointsTo' approach for some basic control-flow-based queries (please let me know if there's a better approach to find 'all statements reachable from a function entry-point'), I've noticed that currently, some calls are incorrectly picked up without any value to point to.
MWE:
Test query:
Every call I've marked here as 'broken' is returned by the query as not having any Value to point to, whereas the other calls are correctly identified and associated with their target.
I am using:
The text was updated successfully, but these errors were encountered: