File tree Expand file tree Collapse file tree
javascript/ql/lib/semmle/javascript Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,10 +157,12 @@ private class FunctionalExtendCallShallow extends ExtendCall {
157157}
158158
159159/**
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
161161 * and to the source of the destination object.
162+ *
163+ * Since all object properties are preserved, we model this as a value-preserving step.
162164 */
163- private class ExtendCallTaintStep extends TaintTracking :: SharedTaintStep {
165+ private class ExtendCallStep extends PreCallGraphStep {
164166 override predicate step ( DataFlow:: Node pred , DataFlow:: Node succ ) {
165167 exists ( ExtendCall extend |
166168 pred = extend .getASourceOperand ( ) and succ = extend .getDestinationOperand ( ) .getALocalSource ( )
You can’t perform that action at this time.
0 commit comments