Overlay: Add overlay annotations to Java & shared libraries

This commit is contained in:
Kasper Svendsen
2025-06-16 13:06:31 +02:00
parent 2218a981f6
commit c207cfdeb7
428 changed files with 966 additions and 0 deletions

View File

@@ -5,6 +5,8 @@
* data flow check for lambdas, anonymous classes, and other sufficiently
* private classes where all object instantiations are accounted for.
*/
overlay[local?]
module;
import java
private import VirtualDispatch

View File

@@ -6,6 +6,8 @@
* The set of dispatch targets for `Object.toString()` calls are reduced based
* on possible data flow from objects of more specific types to the qualifier.
*/
overlay[local?]
module;
import java
private import VirtualDispatch

View File

@@ -2,6 +2,8 @@
* Provides predicates for reasoning about runtime call targets through virtual
* dispatch.
*/
overlay[local?]
module;
import java
import semmle.code.java.dataflow.TypeFlow

View File

@@ -2,6 +2,8 @@
* Provides classes and predicates for reasoning about calls that may invoke one
* of their arguments.
*/
overlay[local?]
module;
import java
import VirtualDispatch

View File

@@ -1,6 +1,8 @@
/**
* Provides a module to check whether two `ParameterizedType`s are unifiable.
*/
overlay[local?]
module;
import java