Skip to content

Commit bd91bc0

Browse files
committed
Java: add Customizations.qll
1 parent 0b3c90b commit bd91bc0

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

java/ql/src/Customizations.qll

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* Contains customizations to the standard library.
3+
*
4+
* This module is imported by `java.qll`, so any customizations defined here automatically
5+
* apply to all queries.
6+
*
7+
* Typical examples of customizations include adding new subclasses of abstract classes such as
8+
* the `RemoteFlowSource` and `AdditionalTaintStep` classes associated with the security queries
9+
* to model frameworks that are not covered by the standard library.
10+
*/
11+
12+
import java

java/ql/src/java.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** Provides all default Java QL imports. */
22

3+
import Customizations
34
import semmle.code.FileSystem
45
import semmle.code.Location
56
import semmle.code.java.Annotation

0 commit comments

Comments
 (0)