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 {
344
344
mayBenefitFromCallContext ( call , c ) and
345
345
c = viableCallable ( ctx ) and
346
346
ctxtgts = count ( viableImplInCallContext ( call , ctx ) ) and
347
- tgts = strictcount ( viableImpl ( call ) ) and
347
+ tgts = strictcount ( viableCallable ( call ) ) and
348
348
ctxtgts < tgts
349
349
)
350
350
}
@@ -369,7 +369,7 @@ private module Cached {
369
369
predicate reducedViableImplInReturn ( DataFlowCallable c , DataFlowCall call ) {
370
370
exists ( int tgts , int ctxtgts |
371
371
mayBenefitFromCallContext ( call , _) and
372
- c = viableImpl ( call ) and
372
+ c = viableCallable ( call ) and
373
373
ctxtgts = count ( DataFlowCall ctx | c = viableImplInCallContext ( call , ctx ) ) and
374
374
tgts = strictcount ( DataFlowCall ctx | viableCallable ( ctx ) = call .getEnclosingCallable ( ) ) and
375
375
ctxtgts < tgts
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ private module Cached {
344
344
mayBenefitFromCallContext ( call , c ) and
345
345
c = viableCallable ( ctx ) and
346
346
ctxtgts = count ( viableImplInCallContext ( call , ctx ) ) and
347
- tgts = strictcount ( viableImpl ( call ) ) and
347
+ tgts = strictcount ( viableCallable ( call ) ) and
348
348
ctxtgts < tgts
349
349
)
350
350
}
@@ -369,7 +369,7 @@ private module Cached {
369
369
predicate reducedViableImplInReturn ( DataFlowCallable c , DataFlowCall call ) {
370
370
exists ( int tgts , int ctxtgts |
371
371
mayBenefitFromCallContext ( call , _) and
372
- c = viableImpl ( call ) and
372
+ c = viableCallable ( call ) and
373
373
ctxtgts = count ( DataFlowCall ctx | c = viableImplInCallContext ( call , ctx ) ) and
374
374
tgts = strictcount ( DataFlowCall ctx | viableCallable ( ctx ) = call .getEnclosingCallable ( ) ) and
375
375
ctxtgts < tgts
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ private module Cached {
344
344
mayBenefitFromCallContext ( call , c ) and
345
345
c = viableCallable ( ctx ) and
346
346
ctxtgts = count ( viableImplInCallContext ( call , ctx ) ) and
347
- tgts = strictcount ( viableImpl ( call ) ) and
347
+ tgts = strictcount ( viableCallable ( call ) ) and
348
348
ctxtgts < tgts
349
349
)
350
350
}
@@ -369,7 +369,7 @@ private module Cached {
369
369
predicate reducedViableImplInReturn ( DataFlowCallable c , DataFlowCall call ) {
370
370
exists ( int tgts , int ctxtgts |
371
371
mayBenefitFromCallContext ( call , _) and
372
- c = viableImpl ( call ) and
372
+ c = viableCallable ( call ) and
373
373
ctxtgts = count ( DataFlowCall ctx | c = viableImplInCallContext ( call , ctx ) ) and
374
374
tgts = strictcount ( DataFlowCall ctx | viableCallable ( ctx ) = call .getEnclosingCallable ( ) ) and
375
375
ctxtgts < tgts
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ private module Cached {
344
344
mayBenefitFromCallContext ( call , c ) and
345
345
c = viableCallable ( ctx ) and
346
346
ctxtgts = count ( viableImplInCallContext ( call , ctx ) ) and
347
- tgts = strictcount ( viableImpl ( call ) ) and
347
+ tgts = strictcount ( viableCallable ( call ) ) and
348
348
ctxtgts < tgts
349
349
)
350
350
}
@@ -369,7 +369,7 @@ private module Cached {
369
369
predicate reducedViableImplInReturn ( DataFlowCallable c , DataFlowCall call ) {
370
370
exists ( int tgts , int ctxtgts |
371
371
mayBenefitFromCallContext ( call , _) and
372
- c = viableImpl ( call ) and
372
+ c = viableCallable ( call ) and
373
373
ctxtgts = count ( DataFlowCall ctx | c = viableImplInCallContext ( call , ctx ) ) and
374
374
tgts = strictcount ( DataFlowCall ctx | viableCallable ( ctx ) = call .getEnclosingCallable ( ) ) and
375
375
ctxtgts < tgts
You can’t perform that action at this time.
0 commit comments