Skip to content

Commit 133e269

Browse files
authored
Merge pull request #18513 from asgerf/js/fix-flow-summary-spec
JS: Fix semantic merge conflict: Implement new signature members in StepInputSig
2 parents fbf25e4 + bd2febc commit 133e269

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

javascript/ql/lib/semmle/javascript/dataflow/internal/FlowSummaryPrivate.qll

+12
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ private import semmle.javascript.internal.flow_summaries.ExceptionFlow
1616
*/
1717
class SummarizedCallableBase = string;
1818

19+
class SourceBase extends Unit {
20+
SourceBase() { none() }
21+
}
22+
23+
class SinkBase extends Unit {
24+
SinkBase() { none() }
25+
}
26+
1927
/** Gets the parameter position representing a callback itself, if any. */
2028
ArgumentPosition callbackSelfParameterPosition() { result.isFunctionSelfReference() }
2129

@@ -139,6 +147,10 @@ private module FlowSummaryStepInput implements Private::StepsInputSig {
139147
]
140148
)
141149
}
150+
151+
DataFlow::Node getSourceNode(SourceBase source, Private::SummaryComponent sc) { none() }
152+
153+
DataFlow::Node getSinkNode(SinkBase sink, Private::SummaryComponent sc) { none() }
142154
}
143155

144156
module Steps = Private::Steps<FlowSummaryStepInput>;

0 commit comments

Comments
 (0)