File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
cpp/ql/src/semmle/code/cpp
csharp/ql/src/semmle/code/csharp/dataflow/internal
java/ql/src/semmle/code/java/dataflow/internal Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ private module Cached {
344344 mayBenefitFromCallContext ( call , c ) and
345345 c = viableCallable ( ctx ) and
346346 ctxtgts = count ( viableImplInCallContext ( call , ctx ) ) and
347- tgts = strictcount ( viableImpl ( call ) ) and
347+ tgts = strictcount ( viableCallable ( call ) ) and
348348 ctxtgts < tgts
349349 )
350350 }
@@ -369,7 +369,7 @@ private module Cached {
369369 predicate reducedViableImplInReturn ( DataFlowCallable c , DataFlowCall call ) {
370370 exists ( int tgts , int ctxtgts |
371371 mayBenefitFromCallContext ( call , _) and
372- c = viableImpl ( call ) and
372+ c = viableCallable ( call ) and
373373 ctxtgts = count ( DataFlowCall ctx | c = viableImplInCallContext ( call , ctx ) ) and
374374 tgts = strictcount ( DataFlowCall ctx | viableCallable ( ctx ) = call .getEnclosingCallable ( ) ) and
375375 ctxtgts < tgts
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ private module Cached {
344344 mayBenefitFromCallContext ( call , c ) and
345345 c = viableCallable ( ctx ) and
346346 ctxtgts = count ( viableImplInCallContext ( call , ctx ) ) and
347- tgts = strictcount ( viableImpl ( call ) ) and
347+ tgts = strictcount ( viableCallable ( call ) ) and
348348 ctxtgts < tgts
349349 )
350350 }
@@ -369,7 +369,7 @@ private module Cached {
369369 predicate reducedViableImplInReturn ( DataFlowCallable c , DataFlowCall call ) {
370370 exists ( int tgts , int ctxtgts |
371371 mayBenefitFromCallContext ( call , _) and
372- c = viableImpl ( call ) and
372+ c = viableCallable ( call ) and
373373 ctxtgts = count ( DataFlowCall ctx | c = viableImplInCallContext ( call , ctx ) ) and
374374 tgts = strictcount ( DataFlowCall ctx | viableCallable ( ctx ) = call .getEnclosingCallable ( ) ) and
375375 ctxtgts < tgts
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ private module Cached {
344344 mayBenefitFromCallContext ( call , c ) and
345345 c = viableCallable ( ctx ) and
346346 ctxtgts = count ( viableImplInCallContext ( call , ctx ) ) and
347- tgts = strictcount ( viableImpl ( call ) ) and
347+ tgts = strictcount ( viableCallable ( call ) ) and
348348 ctxtgts < tgts
349349 )
350350 }
@@ -369,7 +369,7 @@ private module Cached {
369369 predicate reducedViableImplInReturn ( DataFlowCallable c , DataFlowCall call ) {
370370 exists ( int tgts , int ctxtgts |
371371 mayBenefitFromCallContext ( call , _) and
372- c = viableImpl ( call ) and
372+ c = viableCallable ( call ) and
373373 ctxtgts = count ( DataFlowCall ctx | c = viableImplInCallContext ( call , ctx ) ) and
374374 tgts = strictcount ( DataFlowCall ctx | viableCallable ( ctx ) = call .getEnclosingCallable ( ) ) and
375375 ctxtgts < tgts
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ private module Cached {
344344 mayBenefitFromCallContext ( call , c ) and
345345 c = viableCallable ( ctx ) and
346346 ctxtgts = count ( viableImplInCallContext ( call , ctx ) ) and
347- tgts = strictcount ( viableImpl ( call ) ) and
347+ tgts = strictcount ( viableCallable ( call ) ) and
348348 ctxtgts < tgts
349349 )
350350 }
@@ -369,7 +369,7 @@ private module Cached {
369369 predicate reducedViableImplInReturn ( DataFlowCallable c , DataFlowCall call ) {
370370 exists ( int tgts , int ctxtgts |
371371 mayBenefitFromCallContext ( call , _) and
372- c = viableImpl ( call ) and
372+ c = viableCallable ( call ) and
373373 ctxtgts = count ( DataFlowCall ctx | c = viableImplInCallContext ( call , ctx ) ) and
374374 tgts = strictcount ( DataFlowCall ctx | viableCallable ( ctx ) = call .getEnclosingCallable ( ) ) and
375375 ctxtgts < tgts
You can’t perform that action at this time.
0 commit comments