Skip to content

Commit d63b734

Browse files
committed
C++: Add dataflow skeleton for barrier guards on indirect instruction/operand nodes.
1 parent 6b182c5 commit d63b734

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2494,6 +2494,12 @@ module InstructionBarrierGuard<instructionGuardChecksSig/3 instructionGuardCheck
24942494
result = TSsaPhiInputNode(phi, input)
24952495
)
24962496
}
2497+
2498+
/**
2499+
* Gets an indirect node with indirection index `indirectionIndex` that is
2500+
* safely guarded by the given guard check.
2501+
*/
2502+
Node getAnIndirectBarrierNode(int indirectionIndex) { none() }
24972503
}
24982504

24992505
/**

0 commit comments

Comments
 (0)