mirror of
https://github.com/github/codeql.git
synced 2026-06-01 20:00:14 +02:00
Overlay: Add overlay annotations to Java & shared libraries
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/**
|
||||
* Provides a module to check whether two `ParameterizedType`s are unifiable.
|
||||
*/
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
import java
|
||||
|
||||
|
||||
Reference in New Issue
Block a user