mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
C#: Expose a synthetic global singleton stack.
This commit is contained in:
@@ -116,6 +116,11 @@ module SummaryComponentStack {
|
||||
|
||||
/** Gets a singleton stack representing a jump to `c`. */
|
||||
SummaryComponentStack jump(Callable c) { result = singleton(SummaryComponent::jump(c)) }
|
||||
|
||||
/** Gets a singleton stack representing a synthetic global with name `name`. */
|
||||
SummaryComponentStack syntheticGlobal(string synthetic) {
|
||||
result = singleton(SummaryComponent::syntheticGlobal(synthetic))
|
||||
}
|
||||
}
|
||||
|
||||
class SummarizedCallable = Impl::Public::SummarizedCallable;
|
||||
|
||||
Reference in New Issue
Block a user