We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6efe576 commit 9bb85ceCopy full SHA for 9bb85ce
swift/ql/lib/codeql/swift/security/CleartextStorageDatabaseQuery.qll
@@ -48,6 +48,17 @@ module CleartextStorageDatabaseConfig implements DataFlow::ConfigSig {
48
node.asExpr().getType().getUnderlyingType() instanceof DictionaryType and
49
c.getAReadContent().(DataFlow::Content::TupleContent).getIndex() = 1
50
}
51
+
52
+ predicate observeDiffInformedIncrementalMode() { any() }
53
54
+ Location getASelectedSinkLocation(DataFlow::Node sink) {
55
+ exists(DataFlow::Node cleanSink | result = cleanSink.getLocation() |
56
+ cleanSink = sink.(DataFlow::PostUpdateNode).getPreUpdateNode()
57
+ or
58
+ not sink instanceof DataFlow::PostUpdateNode and
59
+ cleanSink = sink
60
+ )
61
+ }
62
63
64
/**
0 commit comments