Skip to content

Commit 036733d

Browse files
committed
Sync FlowSummaryImpl.qll
1 parent eda7bb6 commit 036733d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

csharp/ql/src/semmle/code/csharp/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,14 @@ module Private {
643643
)
644644
}
645645

646-
private predicate interpretSpec(string spec, int idx, SummaryComponentStack stack) {
646+
/**
647+
* Holds if `spec` specifies summary component stack `stack`.
648+
*/
649+
predicate interpretSpec(string spec, SummaryComponentStack stack) {
650+
interpretSpec(spec, 0, stack)
651+
}
652+
653+
predicate interpretSpec(string spec, int idx, SummaryComponentStack stack) {
647654
exists(string c |
648655
relevantSpec(spec) and
649656
specLength(spec, idx + 1) and

0 commit comments

Comments
 (0)