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 9bb85ce commit c8cf803Copy full SHA for c8cf803
swift/ql/lib/codeql/swift/security/CleartextStoragePreferencesQuery.qll
@@ -30,6 +30,17 @@ module CleartextStoragePreferencesConfig implements DataFlow::ConfigSig {
30
// make sources barriers so that we only report the closest instance
31
isSource(node)
32
}
33
+
34
+ predicate observeDiffInformedIncrementalMode() { any() }
35
36
+ Location getASelectedSinkLocation(DataFlow::Node sink) {
37
+ exists(DataFlow::Node cleanSink | result = cleanSink.getLocation() |
38
+ cleanSink = sink.(DataFlow::PostUpdateNode).getPreUpdateNode()
39
+ or
40
+ not sink instanceof DataFlow::PostUpdateNode and
41
+ cleanSink = sink
42
+ )
43
+ }
44
45
46
/**
0 commit comments