We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
getNode
1 parent 26d14ab commit 6a96c53Copy full SHA for 6a96c53
1 file changed
python/ql/src/experimental/dataflow/TypeTracker.qll
@@ -79,7 +79,7 @@ predicate callStep(ArgumentNode nodeFrom, ParameterNode nodeTo) {
79
/** Holds if `nodeFrom` steps to `nodeTo` by being returned from a call. */
80
predicate returnStep(ReturnNode nodeFrom, Node nodeTo) {
81
exists(DataFlowCall call |
82
- nodeFrom.getEnclosingCallable() = call.getCallable() and nodeTo.asCfgNode() = call
+ nodeFrom.getEnclosingCallable() = call.getCallable() and nodeTo.asCfgNode() = call.getNode()
83
)
84
}
85
0 commit comments