@@ -415,7 +415,7 @@ predicate sourceNode(DataFlow::Node node, string kind) { sourceNode(node, kind,
415
415
*/
416
416
predicate sinkNode ( DataFlow:: Node node , string kind ) { sinkNode ( node , kind , _) }
417
417
418
- private predicate interpretSummary (
418
+ private predicate summaryElement (
419
419
Callable c , string input , string output , string kind , string provenance , string model
420
420
) {
421
421
exists (
@@ -431,13 +431,13 @@ private predicate interpretSummary(
431
431
432
432
// adapter class for converting Mad summaries to `SummarizedCallable`s
433
433
private class SummarizedCallableAdapter extends SummarizedCallable {
434
- SummarizedCallableAdapter ( ) { interpretSummary ( this , _, _, _, _, _) }
434
+ SummarizedCallableAdapter ( ) { summaryElement ( this , _, _, _, _, _) }
435
435
436
436
private predicate relevantSummaryElementManual (
437
437
string input , string output , string kind , string model
438
438
) {
439
439
exists ( Provenance provenance |
440
- interpretSummary ( this , input , output , kind , provenance , model ) and
440
+ summaryElement ( this , input , output , kind , provenance , model ) and
441
441
provenance .isManual ( )
442
442
)
443
443
}
@@ -446,7 +446,7 @@ private class SummarizedCallableAdapter extends SummarizedCallable {
446
446
string input , string output , string kind , string model
447
447
) {
448
448
exists ( Provenance provenance |
449
- interpretSummary ( this , input , output , kind , provenance , model ) and
449
+ summaryElement ( this , input , output , kind , provenance , model ) and
450
450
provenance .isGenerated ( )
451
451
)
452
452
}
@@ -465,7 +465,7 @@ private class SummarizedCallableAdapter extends SummarizedCallable {
465
465
}
466
466
467
467
override predicate hasProvenance ( Provenance provenance ) {
468
- interpretSummary ( this , _, _, _, provenance , _)
468
+ summaryElement ( this , _, _, _, provenance , _)
469
469
}
470
470
}
471
471
0 commit comments