Ruby: add Customizations.qll file

This commit is contained in:
Alex Ford
2021-12-07 15:36:07 +00:00
parent a2dc505c26
commit f85a47d41f
3 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
lgtm,codescanning
* A new library, `Customizations.qll`, has been added, which allows for global customizations that affect all queries.

View File

@@ -0,0 +1,12 @@
/**
* Contains customizations to the standard library.
*
* This module is imported by `ruby.qll`, so any customizations defined here automatically
* apply to all queries.
*
* Typical examples of customizations include adding new subclasses of abstract classes such as
* `FileSystemAccess`, or the `Source` and `Sink` classes associated with the security queries
* to model frameworks that are not covered by the standard library.
*/
import ruby

View File

@@ -1 +1,6 @@
/**
* Provides classes for working with Ruby programs.
*/
import Customizations
import codeql.ruby.AST