Skip to content

Commit da1b99b

Browse files
authored
Merge pull request #19779 from github/kaspersv/overlay-java-annotations
Overlay: Add overlay annotations to Java & shared libraries
2 parents 4cbaeb1 + 712e64e commit da1b99b

File tree

434 files changed

+979
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

434 files changed

+979
-0
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/Bound.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Provides classes for representing abstract bounds for use in, for example, range analysis.
33
*/
4+
overlay[local?]
5+
module;
46

57
private import internal.rangeanalysis.BoundSpecific
68

csharp/ql/lib/semmle/code/csharp/dataflow/ModulusAnalysis.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* an expression, `b` is a `Bound` (typically zero or the value of an SSA
44
* variable), and `v` is an integer in the range `[0 .. m-1]`.
55
*/
6+
overlay[local?]
7+
module;
68

79
private import internal.rangeanalysis.ModulusAnalysisSpecific::Private
810
private import Bound

csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/Sign.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
overlay[local?]
2+
module;
3+
14
newtype TSign =
25
TNeg() or
36
TZero() or

csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/SignAnalysisCommon.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* The analysis is implemented as an abstract interpretation over the
66
* three-valued domain `{negative, zero, positive}`.
77
*/
8+
overlay[local?]
9+
module;
810

911
private import SignAnalysisSpecific::Private
1012
private import SsaReadPositionCommon

csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/SsaReadPositionCommon.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Provides classes for representing a position at which an SSA variable is read.
33
*/
4+
overlay[local?]
5+
module;
46

57
private import SsaReadPositionSpecific
68
import SsaReadPositionSpecific::Public

java/ql/lib/Customizations.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@
88
* the `RemoteFlowSource` and `AdditionalTaintStep` classes associated with the security queries
99
* to model frameworks that are not covered by the standard library.
1010
*/
11+
overlay[local?]
12+
module;
1113

1214
import java

java/ql/lib/IDEContextual.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Provides shared predicates related to contextual queries in the code viewer.
33
*/
4+
overlay[local?]
5+
module;
46

57
import semmle.files.FileSystem
68
private import codeql.util.FileSystem

java/ql/lib/default.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/** DEPRECATED: use `java.qll` instead. */
2+
overlay[local?]
3+
module;
24

35
import java

java/ql/lib/definitions.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* Provides classes and predicates related to jump-to-definition links
33
* in the code viewer.
44
*/
5+
overlay[local?]
6+
module;
57

68
import java
79
import IDEContextual

java/ql/lib/experimental/quantum/JCA.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
overlay[local?]
2+
module;
3+
14
import java
25
import semmle.code.java.dataflow.DataFlow
36
import semmle.code.java.dataflow.TaintTracking

0 commit comments

Comments
 (0)