Skip to content

Commit 092cfce

Browse files
committed
Python: Add dataflow consistency checks to ORM tests
Luckily they passed :phew:
1 parent d7ff00e commit 092cfce

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
uniqueEnclosingCallable
2+
uniqueType
3+
uniqueNodeLocation
4+
missingLocation
5+
uniqueNodeToString
6+
missingToString
7+
parameterCallable
8+
localFlowIsLocal
9+
compatibleTypesReflexive
10+
unreachableNodeCCtx
11+
localCallNodes
12+
postIsNotPre
13+
postHasUniquePre
14+
uniquePostUpdate
15+
postIsInSameCallable
16+
reverseRead
17+
argHasPostUpdate
18+
postWithInFlow
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import semmle.python.dataflow.new.internal.DataFlowImplConsistency::Consistency
2+
// Needs to import Django modeling to get the extra data-flow steps enabled.
3+
import semmle.python.Frameworks

0 commit comments

Comments
 (0)