@@ -1862,9 +1862,9 @@ private predicate expensiveLen2unfolding(TypedContent tc, Configuration config)
18621862 tails = strictcount ( AccessPathFront apf | Stage3:: consCand ( tc , apf , config ) ) and
18631863 nodes =
18641864 strictcount ( Node n |
1865- Stage3:: revFlow ( n , _, _, any ( AccessPathFrontHead apf | apf .headUsesContent ( tc ) ) , config )
1865+ Stage3:: revFlow ( n , _, _, any ( AccessPathFrontHead apf | apf .getHead ( ) = tc ) , config )
18661866 or
1867- flowCandSummaryCtx ( n , any ( AccessPathFrontHead apf | apf .headUsesContent ( tc ) ) , config )
1867+ flowCandSummaryCtx ( n , any ( AccessPathFrontHead apf | apf .getHead ( ) = tc ) , config )
18681868 ) and
18691869 accessPathApproxCostLimits ( apLimit , tupleLimit ) and
18701870 apLimit < tails and
@@ -3300,17 +3300,13 @@ predicate flowsTo(Node source, Node sink, Configuration configuration) {
33003300private predicate finalStats ( boolean fwd , int nodes , int fields , int conscand , int tuples ) {
33013301 fwd = true and
33023302 nodes = count ( Node n0 | exists ( PathNode pn | pn .getNode ( ) = n0 ) ) and
3303- fields =
3304- count ( TypedContent f0 | exists ( PathNodeMid pn | pn .getAp ( ) .getFront ( ) .headUsesContent ( f0 ) ) ) and
3303+ fields = count ( TypedContent f0 | exists ( PathNodeMid pn | pn .getAp ( ) .getHead ( ) = f0 ) ) and
33053304 conscand = count ( AccessPath ap | exists ( PathNodeMid pn | pn .getAp ( ) = ap ) ) and
33063305 tuples = count ( PathNode pn )
33073306 or
33083307 fwd = false and
33093308 nodes = count ( Node n0 | exists ( PathNode pn | pn .getNode ( ) = n0 and reach ( pn ) ) ) and
3310- fields =
3311- count ( TypedContent f0 |
3312- exists ( PathNodeMid pn | pn .getAp ( ) .getFront ( ) .headUsesContent ( f0 ) and reach ( pn ) )
3313- ) and
3309+ fields = count ( TypedContent f0 | exists ( PathNodeMid pn | pn .getAp ( ) .getHead ( ) = f0 and reach ( pn ) ) ) and
33143310 conscand = count ( AccessPath ap | exists ( PathNodeMid pn | pn .getAp ( ) = ap and reach ( pn ) ) ) and
33153311 tuples = count ( PathNode pn | reach ( pn ) )
33163312}
0 commit comments