Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions csharp/change-notes/2021-04-14-customizations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lgtm,codescanning
* A new library, `Customizations.qll`, has been added, which allows for global customizations that affect all queries.
12 changes: 12 additions & 0 deletions csharp/ql/src/Customizations.qll
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
* Contains customizations to the standard library.
*
* This module is imported by `csharp.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 `SummarizedCallable` classes associated with the security queries
* to model frameworks that are not covered by the standard library.
*/

import csharp
1 change: 1 addition & 0 deletions csharp/ql/src/csharp.qll
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* The default C# QL library.
*/

import Customizations
import semmle.code.csharp.Attribute
import semmle.code.csharp.Callable
import semmle.code.csharp.Comments
Expand Down