From ef549ef79564ece1975a6f8df03208175f93b2e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alvaro=20Mu=C3=B1oz?= Date: Tue, 24 Sep 2024 21:41:03 +0200 Subject: [PATCH] Add Outputs nodes as CFG/DFG nodes --- ql/lib/codeql/actions/controlflow/internal/Cfg.qll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ql/lib/codeql/actions/controlflow/internal/Cfg.qll b/ql/lib/codeql/actions/controlflow/internal/Cfg.qll index 1fe4a3e7e1c..8a6e52309fb 100644 --- a/ql/lib/codeql/actions/controlflow/internal/Cfg.qll +++ b/ql/lib/codeql/actions/controlflow/internal/Cfg.qll @@ -148,7 +148,7 @@ private class CompositeActionTree extends StandardPreOrderTree instanceof Compos rank[i](AstNode child, Location l | ( child = this.(CompositeAction).getAnInput() or - child = this.(CompositeAction).getAnOutputExpr() or + child = this.(CompositeAction).getOutputs() or child = this.(CompositeAction).getRuns() ) and l = child.getLocation() @@ -172,7 +172,7 @@ private class WorkflowTree extends StandardPreOrderTree instanceof Workflow { rank[i](AstNode child, Location l | ( child = this.(ReusableWorkflow).getAnInput() or - child = this.(ReusableWorkflow).getAnOutputExpr() or + child = this.(ReusableWorkflow).getOutputs() or child = this.(ReusableWorkflow).getStrategy() or child = this.(ReusableWorkflow).getAJob() ) and @@ -202,7 +202,7 @@ private class OutputsTree extends StandardPreOrderTree instanceof Outputs { override ControlFlowTree getChildNode(int i) { result = rank[i](AstNode child, Location l | - child = super.getOutputExpr(_) and l = child.getLocation() + child = super.getAnOutputExpr() and l = child.getLocation() | child order by