Skip to content

Commit e89079c

Browse files
committed
Virtual dispatch must be local
1 parent b98300b commit e89079c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/ql/lib/semmle/code/java/dispatch/VirtualDispatch.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Callable exactCallable(Call c) {
3636
private predicate implCount(MethodCall m, int c) { strictcount(viableImpl(m)) = c }
3737

3838
/** Gets a viable implementation of the target of the given `Call`. */
39+
overlay[local]
3940
Callable viableCallable(Call c) {
4041
result = viableImpl(c)
4142
or

0 commit comments

Comments
 (0)