Skip to content

Commit 1f8f111

Browse files
committed
reintroduce DataFlowType - otherwise nothing in the old DataFlow library would compile
1 parent 6e001ec commit 1f8f111

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

python/ql/lib/semmle/python/dataflow/old/TaintTracking.qll

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,14 @@ module DataFlow {
664664
}
665665
}
666666

667+
deprecated private class DataFlowType extends TaintKind {
668+
// this only exists to avoid an empty recursion error in the type checker
669+
DataFlowType() {
670+
this = "Data flow" and
671+
1 = 2
672+
}
673+
}
674+
667675
pragma[noinline]
668676
private predicate dict_construct(ControlFlowNode itemnode, ControlFlowNode dictnode) {
669677
dictnode.(DictNode).getAValue() = itemnode

0 commit comments

Comments
 (0)