Java: Make synthesized method bodies disjoint from source code.

This commit is contained in:
Anders Schack-Mulligen
2022-08-16 13:36:39 +02:00
parent 28e4224ab1
commit df40ccd129
6 changed files with 56 additions and 25 deletions

View File

@@ -33,8 +33,8 @@ private Callable dispatchCand(Call c) {
*/
pragma[nomagic]
private predicate viableParam(Call call, int i, ParameterNode p) {
exists(Callable callable |
callable = dispatchCand(call) and
exists(DataFlowCallable callable |
callable.asCallable() = dispatchCand(call) and
p.isParameterOf(callable, i)
)
}