File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
ruby/ql/lib/codeql/ruby/regexp/internal Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ private import codeql.ruby.dataflow.internal.DataFlowImplForRegExp
7
7
private import codeql.ruby.typetracking.TypeTracker
8
8
private import codeql.ruby.ApiGraphs
9
9
private import codeql.ruby.dataflow.internal.DataFlowPrivate as DataFlowPrivate
10
- private import codeql.ruby.dataflow.internal.FlowSummaryImpl as FlowSummaryImpl
11
- private import codeql.ruby.dataflow.FlowSummary as FlowSummary
10
+ private import codeql.ruby.TaintTracking
12
11
private import codeql.ruby.frameworks.core.String
13
12
14
13
class RegExpConfiguration extends Configuration {
@@ -38,8 +37,8 @@ class RegExpConfiguration extends Configuration {
38
37
}
39
38
40
39
override predicate isAdditionalFlowStep ( DataFlow:: Node nodeFrom , DataFlow:: Node nodeTo ) {
41
- // include taint flow through `String` summaries,
42
- FlowSummaryImpl :: Private :: Steps :: summaryLocalStep ( nodeFrom , nodeTo , false ) and
40
+ // include taint flow through `String` summaries
41
+ TaintTracking :: localTaintStep ( nodeFrom , nodeTo ) and
43
42
nodeFrom .( DataFlowPrivate:: SummaryNode ) .getSummarizedCallable ( ) instanceof
44
43
String:: SummarizedCallable
45
44
or
You can’t perform that action at this time.
0 commit comments