File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
javascript/ql/lib/semmle/javascript Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -157,10 +157,12 @@ private class FunctionalExtendCallShallow extends ExtendCall {
157
157
}
158
158
159
159
/**
160
- * A taint propagating data flow edge from the objects flowing into an extend call to its return value
160
+ * A value-preserving data flow edge from the objects flowing into an extend call to its return value
161
161
* and to the source of the destination object.
162
+ *
163
+ * Since all object properties are preserved, we model this as a value-preserving step.
162
164
*/
163
- private class ExtendCallTaintStep extends TaintTracking :: SharedTaintStep {
165
+ private class ExtendCallStep extends PreCallGraphStep {
164
166
override predicate step ( DataFlow:: Node pred , DataFlow:: Node succ ) {
165
167
exists ( ExtendCall extend |
166
168
pred = extend .getASourceOperand ( ) and succ = extend .getDestinationOperand ( ) .getALocalSource ( )
You can’t perform that action at this time.
0 commit comments