File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ class QueryString extends EnvironmentRead {
2929}
3030
3131class Configuration extends TaintTrackingConfiguration {
32+ override predicate isSource ( Expr source ) { source instanceof QueryString }
33+
3234 override predicate isSink ( Element tainted ) {
3335 exists ( PrintStdoutCall call | call .getAnArgument ( ) = tainted )
3436 }
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ predicate sqlite_encryption_used() {
3434}
3535
3636class Configuration extends TaintTrackingConfiguration {
37+ override predicate isSource ( Expr source ) {
38+ super .isSource ( source ) and source instanceof SensitiveExpr
39+ }
40+
3741 override predicate isSink ( Element taintedArg ) {
3842 exists ( SqliteFunctionCall sqliteCall |
3943 taintedArg = sqliteCall .getASource ( ) and
You can’t perform that action at this time.
0 commit comments