Skip to content

Commit 203f822

Browse files
committed
ruby/python: make SummaryTypeTracker private
1 parent 8cae151 commit 203f822

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/ql/lib/semmle/python/dataflow/new/internal/TypeTrackerSpecific.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ private predicate argumentPositionMatch(
179179
)
180180
}
181181

182-
module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
182+
private module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
183183
// Dataflow nodes
184184
class Node = DataFlowPublic::Node;
185185

@@ -258,4 +258,4 @@ module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
258258
Node callTo(SummarizedCallable callable) { result = callable.getACallSimple() }
259259
}
260260

261-
module TypeTrackerSummaryFlow = SummaryTypeTracker::SummaryFlow<SummaryTypeTrackerInput>;
261+
private module TypeTrackerSummaryFlow = SummaryTypeTracker::SummaryFlow<SummaryTypeTrackerInput>;

ruby/ql/lib/codeql/ruby/typetracking/TypeTrackerSpecific.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ predicate isNonLocal(SummaryComponent component) {
350350
private import SummaryTypeTracker as SummaryTypeTracker
351351
private import codeql.ruby.dataflow.FlowSummary as FlowSummary
352352

353-
module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
353+
private module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
354354
// Dataflow nodes
355355
class Node = DataFlow::Node;
356356

@@ -448,4 +448,4 @@ module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
448448
Node callTo(SummarizedCallable callable) { result.asExpr().getExpr() = callable.getACallSimple() }
449449
}
450450

451-
module TypeTrackerSummaryFlow = SummaryTypeTracker::SummaryFlow<SummaryTypeTrackerInput>;
451+
private module TypeTrackerSummaryFlow = SummaryTypeTracker::SummaryFlow<SummaryTypeTrackerInput>;

0 commit comments

Comments
 (0)