We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31d0113 commit 5c028b8Copy full SHA for 5c028b8
1 file changed
cpp/ql/src/Security/CWE/CWE-313/CleartextSqliteDatabase.ql
@@ -123,6 +123,20 @@ module FromSensitiveConfig implements DataFlow::ConfigSig {
123
content.(DataFlow::FieldContent).getField() = getRecField(t.stripType())
124
)
125
}
126
+
127
+ predicate observeDiffInformedIncrementalMode() { any() }
128
129
+ Location getASelectedSourceLocation(DataFlow::Node source) {
130
+ exists(SensitiveExpr sensitive | result = sensitive.getLocation() |
131
+ isSourceImpl(source, sensitive)
132
+ )
133
+ }
134
135
+ Location getASelectedSinkLocation(DataFlow::Node sink) {
136
+ exists(SqliteFunctionCall sqliteCall | result = sqliteCall.getLocation() |
137
+ isSinkImpl(sink, sqliteCall, _)
138
139
140
141
142
module FromSensitiveFlow = TaintTracking::Global<FromSensitiveConfig>;
0 commit comments