We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
py/meta/call-graph
1 parent 7c1320e commit f2e92bfCopy full SHA for f2e92bf
1 file changed
python/ql/src/meta/analysis-quality/CallGraph.ql
@@ -1,16 +1,16 @@
1
/**
2
* @name Call graph
3
- * @description An edge in the points-to call graph.
+ * @description An edge in the call graph.
4
* @kind problem
5
* @problem.severity recommendation
6
- * @id py/meta/points-to-call-graph
+ * @id py/meta/call-graph
7
* @tags meta
8
* @precision very-low
9
*/
10
11
import python
12
import semmle.python.dataflow.new.internal.DataFlowPrivate
13
14
-from DataFlowCall c, DataFlowCallableValue f
15
-where c.getCallable() = f
16
-select c, "Call to $@", f.getScope(), f.toString()
+from DataFlowCall call, DataFlowCallable target
+where target = viableCallable(call)
+select call, "Call to $@", target.getScope(), target.toString()
0 commit comments