Add extra Customizations files

This commit is contained in:
Kristen Newbury
2025-08-19 14:49:31 -04:00
parent 963e028645
commit 49ef6939d4
6 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
/**
* Contains customizations to the standard library.
*
* This module is imported by `cpp.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` class
* to model frameworks that are not covered by the standard library.
*/
import cpp

View File

@@ -13,6 +13,7 @@
* https://github.com/cplusplus/draft/raw/master/papers/n4140.pdf
*/
import Customizations
import semmle.code.cpp.File
import semmle.code.cpp.Linkage
import semmle.code.cpp.Location

View File

@@ -0,0 +1,12 @@
/**
* Contains customizations to the standard library.
*
* This module is imported by `rust.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` class
* to model frameworks that are not covered by the standard library.
*/
import rust

View File

@@ -1,5 +1,6 @@
/** Top-level import for the Rust language pack */
import Customizations
import codeql.rust.elements
import codeql.Locations
import codeql.files.FileSystem

View File

@@ -0,0 +1,12 @@
/**
* Contains customizations to the standard library.
*
* This module is imported by `swift.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` class
* to model frameworks that are not covered by the standard library.
*/
import swift

View File

@@ -1,5 +1,6 @@
/** Top-level import for the Swift language pack */
import Customizations
import codeql.swift.elements
import codeql.swift.elements.expr.ArithmeticOperation
import codeql.swift.elements.expr.Assignment