We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SummaryComponentStack::bottom
1 parent cca74e9 commit 4bf0782Copy full SHA for 4bf0782
csharp/ql/lib/semmle/code/csharp/dataflow/internal/FlowSummaryImpl.qll
@@ -90,7 +90,9 @@ module Public {
90
predicate contains(SummaryComponent c) { c = this.drop(_).head() }
91
92
/** Gets the bottom element of this stack. */
93
- SummaryComponent bottom() { result = this.drop(this.length() - 1).head() }
+ SummaryComponent bottom() {
94
+ this = TSingletonSummaryComponentStack(result) or result = this.tail().bottom()
95
+ }
96
97
/** Gets a textual representation of this stack. */
98
string toString() {
0 commit comments