PY: convert test to not use deleted deprecations

This commit is contained in:
Erik Krogh Kristensen
2022-03-07 13:38:44 +01:00
parent 59db0e7a0f
commit 309e376c6d
9 changed files with 85 additions and 70 deletions

View File

@@ -664,6 +664,14 @@ module DataFlow {
}
}
deprecated private class DataFlowType extends TaintKind {
// this only exists to avoid an empty recursion error in the type checker
DataFlowType() {
this = "Data flow" and
1 = 2
}
}
pragma[noinline]
private predicate dict_construct(ControlFlowNode itemnode, ControlFlowNode dictnode) {
dictnode.(DictNode).getAValue() = itemnode