@@ -872,7 +872,7 @@ module Private {
872
872
}
873
873
874
874
pragma [ nomagic]
875
- private ParamNode summaryArgParam0 ( DataFlowCall call , ArgNode arg , SummarizedCallable sc ) {
875
+ private ParamNode summaryArgParam ( DataFlowCall call , ArgNode arg , SummarizedCallable sc ) {
876
876
exists ( ParameterPosition ppos |
877
877
argumentPositionMatch ( call , arg , ppos ) and
878
878
viableParam ( call , sc , ppos , result )
@@ -911,18 +911,18 @@ module Private {
911
911
predicate prohibitsUseUseFlow ( ArgNode arg , SummarizedCallable sc ) {
912
912
exists ( ParamNode p , ParameterPosition ppos , Node ret |
913
913
paramReachesLocal ( p , ret , true ) and
914
- p = summaryArgParam0 ( _, arg , sc ) and
914
+ p = summaryArgParam ( _, arg , sc ) and
915
915
p .isParameterOf ( _, pragma [ only_bind_into ] ( ppos ) ) and
916
916
isParameterPostUpdate ( ret , _, pragma [ only_bind_into ] ( ppos ) )
917
917
)
918
918
}
919
919
920
920
bindingset [ ret]
921
- private ParamNode summaryArgParam (
921
+ private ParamNode summaryArgParamRetOut (
922
922
ArgNode arg , ReturnNodeExt ret , OutNodeExt out , SummarizedCallable sc
923
923
) {
924
924
exists ( DataFlowCall call , ReturnKindExt rk |
925
- result = summaryArgParam0 ( call , arg , sc ) and
925
+ result = summaryArgParam ( call , arg , sc ) and
926
926
ret .getKind ( ) = pragma [ only_bind_into ] ( rk ) and
927
927
out = pragma [ only_bind_into ] ( rk ) .getAnOutNode ( call )
928
928
)
@@ -937,7 +937,7 @@ module Private {
937
937
*/
938
938
predicate summaryThroughStepValue ( ArgNode arg , Node out , SummarizedCallable sc ) {
939
939
exists ( ReturnKind rk , ReturnNode ret , DataFlowCall call |
940
- summaryLocalStep ( summaryArgParam0 ( call , arg , sc ) , ret , true ) and
940
+ summaryLocalStep ( summaryArgParam ( call , arg , sc ) , ret , true ) and
941
941
ret .getKind ( ) = pragma [ only_bind_into ] ( rk ) and
942
942
out = getAnOutNode ( call , pragma [ only_bind_into ] ( rk ) )
943
943
)
@@ -951,7 +951,7 @@ module Private {
951
951
* be useful to include in the exposed local data-flow/taint-tracking relations.
952
952
*/
953
953
predicate summaryThroughStepTaint ( ArgNode arg , Node out , SummarizedCallable sc ) {
954
- exists ( ReturnNodeExt ret | summaryLocalStep ( summaryArgParam ( arg , ret , out , sc ) , ret , false ) )
954
+ exists ( ReturnNodeExt ret | summaryLocalStep ( summaryArgParamRetOut ( arg , ret , out , sc ) , ret , false ) )
955
955
}
956
956
957
957
/**
@@ -963,7 +963,7 @@ module Private {
963
963
*/
964
964
predicate summaryGetterStep ( ArgNode arg , ContentSet c , Node out , SummarizedCallable sc ) {
965
965
exists ( Node mid , ReturnNodeExt ret |
966
- summaryReadStep ( summaryArgParam ( arg , ret , out , sc ) , c , mid ) and
966
+ summaryReadStep ( summaryArgParamRetOut ( arg , ret , out , sc ) , c , mid ) and
967
967
summaryLocalStep ( mid , ret , _)
968
968
)
969
969
}
@@ -977,7 +977,7 @@ module Private {
977
977
*/
978
978
predicate summarySetterStep ( ArgNode arg , ContentSet c , Node out , SummarizedCallable sc ) {
979
979
exists ( Node mid , ReturnNodeExt ret |
980
- summaryLocalStep ( summaryArgParam ( arg , ret , out , sc ) , mid , _) and
980
+ summaryLocalStep ( summaryArgParamRetOut ( arg , ret , out , sc ) , mid , _) and
981
981
summaryStoreStep ( mid , c , ret )
982
982
)
983
983
}
0 commit comments