@@ -1562,7 +1562,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
1562
1562
or
1563
1563
// flow through a callable
1564
1564
exists ( DataFlowCall call , CcCall ccc , RetNodeEx ret , boolean allowsFieldFlow |
1565
- fwdFlowThrough ( call , cc , state , ccc , summaryCtx , t , ap , apa , stored , ret , _ ) and
1565
+ fwdFlowThrough ( call , cc , state , ccc , summaryCtx , t , ap , apa , stored , ret ) and
1566
1566
flowThroughOutOfCall ( call , ccc , ret , node , allowsFieldFlow ) and
1567
1567
not inBarrier ( node , state ) and
1568
1568
if allowsFieldFlow = false then ap instanceof ApNil else any ( )
@@ -2098,10 +2098,9 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
2098
2098
pragma [ nomagic]
2099
2099
private predicate fwdFlowThrough (
2100
2100
DataFlowCall call , Cc cc , FlowState state , CcCall ccc , SummaryCtx summaryCtx , Typ t ,
2101
- Ap ap , ApApprox apa , TypOption stored , RetNodeEx ret , ApApprox innerArgApa
2101
+ Ap ap , ApApprox apa , TypOption stored , RetNodeEx ret
2102
2102
) {
2103
- fwdFlowThrough0 ( call , _, cc , state , ccc , summaryCtx , t , ap , apa , stored , ret , _,
2104
- innerArgApa )
2103
+ fwdFlowThrough0 ( call , _, cc , state , ccc , summaryCtx , t , ap , apa , stored , ret , _, _)
2105
2104
}
2106
2105
2107
2106
pragma [ nomagic]
@@ -3136,10 +3135,10 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
3136
3135
private predicate fwdFlowThroughStep0 (
3137
3136
DataFlowCall call , ArgNodeEx arg , Cc cc , FlowState state , CcCall ccc ,
3138
3137
SummaryCtx summaryCtx , Typ t , Ap ap , ApApprox apa , TypOption stored , RetNodeEx ret ,
3139
- SummaryCtxSome innerSummaryCtx , ApApprox innerArgApa
3138
+ SummaryCtxSome innerSummaryCtx
3140
3139
) {
3141
3140
fwdFlowThrough0 ( call , arg , cc , state , ccc , summaryCtx , t , ap , apa , stored , ret ,
3142
- innerSummaryCtx , innerArgApa )
3141
+ innerSummaryCtx , _ )
3143
3142
}
3144
3143
3145
3144
bindingset [ node, state, cc, summaryCtx, t, ap, stored]
@@ -3165,14 +3164,14 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
3165
3164
private predicate fwdFlowThroughStep1 (
3166
3165
PathNodeImpl pn1 , PathNodeImpl pn2 , PathNodeImpl pn3 , DataFlowCall call , Cc cc ,
3167
3166
FlowState state , CcCall ccc , SummaryCtx summaryCtx , Typ t , Ap ap , ApApprox apa ,
3168
- TypOption stored , RetNodeEx ret , ApApprox innerArgApa
3167
+ TypOption stored , RetNodeEx ret
3169
3168
) {
3170
3169
exists (
3171
3170
FlowState state0 , ArgNodeEx arg , SummaryCtxSome innerSummaryCtx , ParamNodeEx p ,
3172
3171
Typ innerArgT , Ap innerArgAp , TypOption innerArgStored
3173
3172
|
3174
3173
fwdFlowThroughStep0 ( call , arg , cc , state , ccc , summaryCtx , t , ap , apa , stored , ret ,
3175
- innerSummaryCtx , innerArgApa ) and
3174
+ innerSummaryCtx ) and
3176
3175
innerSummaryCtx = TSummaryCtxSome ( p , state0 , innerArgT , innerArgAp , innerArgStored ) and
3177
3176
pn1 = mkPathNode ( arg , state0 , cc , summaryCtx , innerArgT , innerArgAp , innerArgStored ) and
3178
3177
pn2 =
@@ -3189,7 +3188,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
3189
3188
) {
3190
3189
exists ( DataFlowCall call , CcCall ccc , RetNodeEx ret , boolean allowsFieldFlow |
3191
3190
fwdFlowThroughStep1 ( pn1 , pn2 , pn3 , call , cc , state , ccc , summaryCtx , t , ap , _, stored ,
3192
- ret , _ ) and
3191
+ ret ) and
3193
3192
flowThroughOutOfCall ( call , ccc , ret , node , allowsFieldFlow ) and
3194
3193
not inBarrier ( node , state ) and
3195
3194
if allowsFieldFlow = false then ap instanceof ApNil else any ( )
0 commit comments