File tree 1 file changed +12
-0
lines changed
javascript/ql/lib/semmle/javascript/dataflow/internal
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,14 @@ private import semmle.javascript.internal.flow_summaries.ExceptionFlow
16
16
*/
17
17
class SummarizedCallableBase = string ;
18
18
19
+ class SourceBase extends Unit {
20
+ SourceBase ( ) { none ( ) }
21
+ }
22
+
23
+ class SinkBase extends Unit {
24
+ SinkBase ( ) { none ( ) }
25
+ }
26
+
19
27
/** Gets the parameter position representing a callback itself, if any. */
20
28
ArgumentPosition callbackSelfParameterPosition ( ) { result .isFunctionSelfReference ( ) }
21
29
@@ -139,6 +147,10 @@ private module FlowSummaryStepInput implements Private::StepsInputSig {
139
147
]
140
148
)
141
149
}
150
+
151
+ DataFlow:: Node getSourceNode ( SourceBase source , Private:: SummaryComponent sc ) { none ( ) }
152
+
153
+ DataFlow:: Node getSinkNode ( SinkBase sink , Private:: SummaryComponent sc ) { none ( ) }
142
154
}
143
155
144
156
module Steps = Private:: Steps< FlowSummaryStepInput > ;
You can’t perform that action at this time.
0 commit comments