mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Implement FlowSummaryImpl stubs
This commit is contained in:
@@ -10,8 +10,14 @@ private import DataFlowImplSpecific::Private
|
||||
private import DataFlowImplSpecific::Public
|
||||
|
||||
module Input implements InputSig<Location, DataFlowImplSpecific::RubyDataFlow> {
|
||||
private import codeql.util.Void
|
||||
|
||||
class SummarizedCallableBase = string;
|
||||
|
||||
class SourceBase = Void;
|
||||
|
||||
class SinkBase = Void;
|
||||
|
||||
ArgumentPosition callbackSelfParameterPosition() { result.isLambdaSelf() }
|
||||
|
||||
ReturnKind getStandardReturnValueKind() { result instanceof NormalReturnKind }
|
||||
@@ -154,6 +160,10 @@ private module StepsInput implements Impl::Private::StepsInputSig {
|
||||
or
|
||||
result.asCall().getAstNode() = sc.(LibraryCallable).getACallSimple()
|
||||
}
|
||||
|
||||
Node getSourceNode(Input::SourceBase source, Impl::Private::SummaryComponent sc) { none() }
|
||||
|
||||
Node getSinkNode(Input::SinkBase sink, Impl::Private::SummaryComponent sc) { none() }
|
||||
}
|
||||
|
||||
module Private {
|
||||
|
||||
Reference in New Issue
Block a user