diff --git a/powershell/ql/lib/semmle/code/powershell/dataflow/internal/DataFlowPublic.qll b/powershell/ql/lib/semmle/code/powershell/dataflow/internal/DataFlowPublic.qll index 1d444a03ab54..e8e522cc4942 100644 --- a/powershell/ql/lib/semmle/code/powershell/dataflow/internal/DataFlowPublic.qll +++ b/powershell/ql/lib/semmle/code/powershell/dataflow/internal/DataFlowPublic.qll @@ -536,6 +536,8 @@ class CallNode extends ExprNode { * Note that this predicate doesn't get the pipeline argument, if any. */ Node getAnArgument() { result.asExpr() = call.getAnArgument() } + + Node getCallee() { result.asExpr() = call.getCallee() } } /** A call to operator `&`, viwed as a node in a data flow graph. */