@@ -10,6 +10,8 @@ private import semmle.javascript.internal.flow_summaries.AllFlowSummaries
1010private import sharedlib.FlowSummaryImpl as FlowSummaryImpl
1111private import semmle.javascript.dataflow.internal.BarrierGuards
1212
13+ class DataFlowSecondLevelScope = Unit ;
14+
1315private class Node = DataFlow:: Node ;
1416
1517class PostUpdateNode = DataFlow:: PostUpdateNode ;
@@ -701,7 +703,7 @@ DataFlowCallable viableCallable(DataFlowCall node) {
701703 * Holds if the set of viable implementations that can be called by `call`
702704 * might be improved by knowing the call context.
703705 */
704- predicate mayBenefitFromCallContext ( DataFlowCall call , DataFlowCallable c ) { none ( ) }
706+ predicate mayBenefitFromCallContext ( DataFlowCall call ) { none ( ) }
705707
706708/**
707709 * Gets a viable dispatch target of `call` in the context `ctx`. This is
@@ -780,6 +782,14 @@ private predicate valuePreservingStep(Node node1, Node node2) {
780782 )
781783}
782784
785+ predicate knownSourceModel ( Node sink , string model ) { none ( ) }
786+
787+ predicate knownSinkModel ( Node sink , string model ) { none ( ) }
788+
789+ predicate simpleLocalFlowStep ( Node node1 , Node node2 , string model ) {
790+ simpleLocalFlowStep ( node1 , node2 ) and model = ""
791+ }
792+
783793predicate simpleLocalFlowStep ( Node node1 , Node node2 ) {
784794 valuePreservingStep ( node1 , node2 ) and
785795 nodeGetEnclosingCallable ( pragma [ only_bind_out ] ( node1 ) ) =
0 commit comments