@@ -167,7 +167,7 @@ predicate returnStep(Node nodeFrom, Node nodeTo) {
167167 * to `z` inside `bar`, even though this content write happens _after_ `bar` is
168168 * called.
169169 */
170- predicate basicStoreStep ( Node nodeFrom , Node nodeTo , TypeTrackerContent contents ) {
170+ predicate basicStoreStep ( Node nodeFrom , Node nodeTo , DataFlow :: ContentSet contents ) {
171171 postUpdateStoreStep ( nodeFrom , nodeTo , contents )
172172 or
173173 exists (
@@ -185,7 +185,7 @@ predicate basicStoreStep(Node nodeFrom, Node nodeTo, TypeTrackerContent contents
185185 * Holds if a store step `nodeFrom -> nodeTo` with `contents` exists, where the destination node
186186 * is a post-update node that should be treated as a local source node.
187187 */
188- predicate postUpdateStoreStep ( Node nodeFrom , Node nodeTo , TypeTrackerContent contents ) {
188+ predicate postUpdateStoreStep ( Node nodeFrom , Node nodeTo , DataFlow :: ContentSet contents ) {
189189 // TODO: support SetterMethodCall inside TuplePattern
190190 exists ( ExprNodes:: MethodCallCfgNode call |
191191 contents
@@ -202,7 +202,7 @@ predicate postUpdateStoreStep(Node nodeFrom, Node nodeTo, TypeTrackerContent con
202202/**
203203 * Holds if `nodeTo` is the result of accessing the `content` content of `nodeFrom`.
204204 */
205- predicate basicLoadStep ( Node nodeFrom , Node nodeTo , TypeTrackerContent contents ) {
205+ predicate basicLoadStep ( Node nodeFrom , Node nodeTo , DataFlow :: ContentSet contents ) {
206206 exists ( ExprNodes:: MethodCallCfgNode call |
207207 call .getExpr ( ) .getNumberOfArguments ( ) = 0 and
208208 contents .isSingleton ( DataFlowPublic:: Content:: getAttributeName ( call .getExpr ( ) .getMethodName ( ) ) ) and
@@ -231,7 +231,7 @@ class Boolean extends boolean {
231231private import SummaryComponentStack
232232
233233private predicate hasStoreSummary (
234- SummarizedCallable callable , TypeTrackerContent contents , SummaryComponent input ,
234+ SummarizedCallable callable , DataFlow :: ContentSet contents , SummaryComponent input ,
235235 SummaryComponent output
236236) {
237237 callable
@@ -240,7 +240,7 @@ private predicate hasStoreSummary(
240240}
241241
242242private predicate hasLoadSummary (
243- SummarizedCallable callable , TypeTrackerContent contents , SummaryComponent input ,
243+ SummarizedCallable callable , DataFlow :: ContentSet contents , SummaryComponent input ,
244244 SummaryComponent output
245245) {
246246 callable
0 commit comments