mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Overlay: Add overlay annotations to Java & shared libraries
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
* Provides the `restrictAlertsTo` extensible predicate to restrict alerts to specific source
|
||||
* locations, and the `AlertFilteringImpl` parameterized module to apply the filtering.
|
||||
*/
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
private import codeql.util.Location
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
/** Provides the `Boolean` class. */
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
/**
|
||||
* A utility class that is equivalent to `boolean`.
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
* Provides modules for computing dense `rank`s. See the `DenseRank` module
|
||||
* below for a more detailed explanation.
|
||||
*/
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
/** Provides the input to `DenseRank`. */
|
||||
signature module DenseRankInputSig {
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
/** Provides a module for constructing a union `Either` type. */
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
/** A type with `toString`. */
|
||||
private signature class TypeWithToString {
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
/** Provides a utility for normalizing filepaths. */
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
/**
|
||||
* A filepath that should be normalized.
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
/** Provides classes for working with files and folders. */
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
/** Provides the input specification of the files and folders implementation. */
|
||||
signature module InputSig {
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
/** Provides classes for working with locations. */
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
/**
|
||||
* A location as given by a file, a start line, a start column,
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
* Provides predicates for working with numeric values and their string
|
||||
* representations.
|
||||
*/
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
/**
|
||||
* Gets the integer value of `binary` when interpreted as binary. `binary` must
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
/** Provides a module for constructing optional versions of types. */
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
/** A type with `toString`. */
|
||||
private signature class TypeWithToString {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/**
|
||||
* Provides the `ReportStats` module for reporting database quality statistics.
|
||||
*/
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
signature module StatsSig {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
private import Numbers
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
/** Provides the `Unit` class. */
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
/** The unit type. */
|
||||
private newtype TUnit = TMkUnit()
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
/** Provides the empty `Void` class. */
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
/** The empty void type. */
|
||||
private newtype TVoid = TMkVoid() { none() }
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
signature class AstNode {
|
||||
predicate hasLocationInfo(
|
||||
string filepath, int startline, int startcolumn, int endline, int endcolumn
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* VS Code, but prevents the "Location is outside of test directory" warning
|
||||
* when executed through `codeql test run`.
|
||||
*/
|
||||
overlay[local?]
|
||||
module;
|
||||
|
||||
external private predicate queryResults(string relation, int row, int column, string data);
|
||||
|
||||
Reference in New Issue
Block a user