File tree Expand file tree Collapse file tree 3 files changed +14
-16
lines changed Expand file tree Collapse file tree 3 files changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ import semmle.javascript.frameworks.ComposedFunctions
78
78
import semmle.javascript.frameworks.Classnames
79
79
import semmle.javascript.frameworks.ClassValidator
80
80
import semmle.javascript.frameworks.ClientRequests
81
- import semmle.javascript.frameworks.Clone
82
81
import semmle.javascript.frameworks.ClosureLibrary
83
82
import semmle.javascript.frameworks.CookieLibraries
84
83
import semmle.javascript.frameworks.Credentials
Original file line number Diff line number Diff line change @@ -174,3 +174,17 @@ private class ExtendCallTaintStep extends TaintTracking::SharedTaintStep {
174
174
)
175
175
}
176
176
}
177
+
178
+ private import semmle.javascript.dataflow.internal.PreCallGraphStep
179
+
180
+ /**
181
+ * A step for the `clone` package.
182
+ */
183
+ private class CloneStep extends PreCallGraphStep {
184
+ override predicate step ( DataFlow:: Node pred , DataFlow:: Node succ ) {
185
+ exists ( DataFlow:: CallNode call | call = DataFlow:: moduleImport ( "clone" ) .getACall ( ) |
186
+ pred = call .getArgument ( 0 ) and
187
+ succ = call
188
+ )
189
+ }
190
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments