зеркало из https://github.com/github/codeql.git
Merge pull request #2923 from yo-h/java-customizations
Java: add `Customizations.qll`
This commit is contained in:
Коммит
b210009eec
|
@ -5,6 +5,7 @@ The following changes in version 1.24 affect Java analysis in all applications.
|
|||
## General improvements
|
||||
|
||||
* Alert suppression can now be done with single-line block comments (`/* ... */`) as well as line comments (`// ...`).
|
||||
* A `Customizations.qll` file has been added to allow customizations of the standard library that apply to all queries.
|
||||
|
||||
## New queries
|
||||
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Contains customizations to the standard library.
|
||||
*
|
||||
* This module is imported by `java.qll`, so any customizations defined here automatically
|
||||
* apply to all queries.
|
||||
*
|
||||
* Typical examples of customizations include adding new subclasses of abstract classes such as
|
||||
* the `RemoteFlowSource` and `AdditionalTaintStep` classes associated with the security queries
|
||||
* to model frameworks that are not covered by the standard library.
|
||||
*/
|
||||
|
||||
import java
|
|
@ -1,5 +1,6 @@
|
|||
/** Provides all default Java QL imports. */
|
||||
|
||||
import Customizations
|
||||
import semmle.code.FileSystem
|
||||
import semmle.code.Location
|
||||
import semmle.code.java.Annotation
|
||||
|
|
Загрузка…
Ссылка в новой задаче