Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b62b8c8

Browse files
committed
Use SummaryModelCsv for the toString taint step
1 parent c683b48 commit b62b8c8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

java/ql/lib/semmle/code/java/frameworks/MyBatis.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,12 @@ private class MyBatisProviderStep extends TaintTracking::AdditionalValueStep {
162162
}
163163
}
164164

165+
private class MyBatisAbstractSQLToStringStep extends SummaryModelCsv {
166+
override predicate row(string row) {
167+
row = ["org.apache.ibatis.jdbc;AbstractSQL;true;toString;;;Argument[-1];ReturnValue;taint"]
168+
}
169+
}
170+
165171
private class MyBatisAbstractSQLMethodsStep extends SummaryModelCsv {
166172
override predicate row(string row) {
167173
row =

0 commit comments

Comments
 (0)