Skip to content

Commit ef549ef

Browse files
author
Alvaro Muñoz
committed
Add Outputs nodes as CFG/DFG nodes
1 parent ffbddb1 commit ef549ef

File tree

1 file changed

+3
-3
lines changed
  • ql/lib/codeql/actions/controlflow/internal

1 file changed

+3
-3
lines changed

ql/lib/codeql/actions/controlflow/internal/Cfg.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ private class CompositeActionTree extends StandardPreOrderTree instanceof Compos
148148
rank[i](AstNode child, Location l |
149149
(
150150
child = this.(CompositeAction).getAnInput() or
151-
child = this.(CompositeAction).getAnOutputExpr() or
151+
child = this.(CompositeAction).getOutputs() or
152152
child = this.(CompositeAction).getRuns()
153153
) and
154154
l = child.getLocation()
@@ -172,7 +172,7 @@ private class WorkflowTree extends StandardPreOrderTree instanceof Workflow {
172172
rank[i](AstNode child, Location l |
173173
(
174174
child = this.(ReusableWorkflow).getAnInput() or
175-
child = this.(ReusableWorkflow).getAnOutputExpr() or
175+
child = this.(ReusableWorkflow).getOutputs() or
176176
child = this.(ReusableWorkflow).getStrategy() or
177177
child = this.(ReusableWorkflow).getAJob()
178178
) and
@@ -202,7 +202,7 @@ private class OutputsTree extends StandardPreOrderTree instanceof Outputs {
202202
override ControlFlowTree getChildNode(int i) {
203203
result =
204204
rank[i](AstNode child, Location l |
205-
child = super.getOutputExpr(_) and l = child.getLocation()
205+
child = super.getAnOutputExpr() and l = child.getLocation()
206206
|
207207
child
208208
order by

0 commit comments

Comments
 (0)