File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
java/ql/lib/semmle/code/java/frameworks Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -194,18 +194,7 @@ private class MyBatisAbstractSQLMethodsStep extends SummaryModelCsv {
194
194
exists ( MyBatisAbstractSQLMethod m |
195
195
row =
196
196
"org.apache.ibatis.jdbc;AbstractSQL;true;" + m .getName ( ) + ";(" + m .getCsvSignature ( ) +
197
- ");;" + m .getTaintedArgs ( ) + ";ReturnValue;taint"
198
- )
199
- }
200
- }
201
-
202
- private class MyBatisAbstractSQLAnonymousClassStep extends TaintTracking:: AdditionalTaintStep {
203
- override predicate step ( DataFlow:: Node node1 , DataFlow:: Node node2 ) {
204
- exists ( MethodAccess ma , ClassInstanceExpr c |
205
- ma .getMethod ( ) instanceof MyBatisAbstractSQLMethod and
206
- c .getAnonymousClass ( ) .getACallable ( ) = ma .getCaller ( ) and
207
- node1 .asExpr ( ) = ma and
208
- node2 .asExpr ( ) = c
197
+ ");;" + m .getTaintedArgs ( ) + ";Argument[-1];taint"
209
198
)
210
199
}
211
200
}
You can’t perform that action at this time.
0 commit comments