File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
cpp/ql/src/Security/CWE/CWE-313 Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,20 @@ module FromSensitiveConfig implements DataFlow::ConfigSig {
123123 content .( DataFlow:: FieldContent ) .getField ( ) = getRecField ( t .stripType ( ) )
124124 )
125125 }
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+ }
126140}
127141
128142module FromSensitiveFlow = TaintTracking:: Global< FromSensitiveConfig > ;
You can’t perform that action at this time.
0 commit comments