We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d89967c commit 60ee92dCopy full SHA for 60ee92d
1 file changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/SsaImpl.qll
@@ -940,6 +940,11 @@ module SsaCached {
940
SsaImpl::phiHasInputFromBlock(phi, inp, bb)
941
}
942
943
+ cached
944
+ predicate uncertainWriteDefinitionInput(Definition uncertain, Definition inp) {
945
+ SsaImpl::uncertainWriteDefinitionInput(uncertain, inp)
946
+ }
947
+
948
cached
949
predicate ssaDefReachesEndOfBlock(IRBlock bb, Definition def) {
950
SsaImpl::ssaDefReachesEndOfBlock(bb, def, _)
@@ -1178,7 +1183,7 @@ class Definition extends SsaImpl::Definition {
1178
1183
private Definition getAPhiInputOrPriorDefinition() {
1179
1184
result = this.(PhiNode).getAnInput()
1180
1185
or
1181
- SsaImpl::uncertainWriteDefinitionInput(this, result)
1186
+ uncertainWriteDefinitionInput(this, result)
1182
1187
1188
1189
/**
0 commit comments