mirror of
https://github.com/github/codeql.git
synced 2025-12-23 20:26:32 +01:00
Merge tag 'codeql-cli/latest'
Compatible with the latest released version of the CodeQL CLI
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.7.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.7.3
|
## 0.7.3
|
||||||
|
|
||||||
### Minor Analysis Improvements
|
### Minor Analysis Improvements
|
||||||
|
|||||||
3
cpp/ql/lib/change-notes/released/0.7.4.md
Normal file
3
cpp/ql/lib/change-notes/released/0.7.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.7.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.7.3
|
lastReleaseVersion: 0.7.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/cpp-all
|
name: codeql/cpp-all
|
||||||
version: 0.7.3
|
version: 0.7.4
|
||||||
groups: cpp
|
groups: cpp
|
||||||
dbscheme: semmlecode.cpp.dbscheme
|
dbscheme: semmlecode.cpp.dbscheme
|
||||||
extractor: cpp
|
extractor: cpp
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.6.3
|
## 0.6.3
|
||||||
|
|
||||||
### New Queries
|
### New Queries
|
||||||
|
|||||||
3
cpp/ql/src/change-notes/released/0.6.4.md
Normal file
3
cpp/ql/src/change-notes/released/0.6.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.6.3
|
lastReleaseVersion: 0.6.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/cpp-queries
|
name: codeql/cpp-queries
|
||||||
version: 0.6.3
|
version: 0.6.4
|
||||||
groups:
|
groups:
|
||||||
- cpp
|
- cpp
|
||||||
- queries
|
- queries
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 1.5.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 1.5.3
|
## 1.5.3
|
||||||
|
|
||||||
No user-facing changes.
|
No user-facing changes.
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
## 1.5.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 1.5.3
|
lastReleaseVersion: 1.5.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/csharp-solorigate-all
|
name: codeql/csharp-solorigate-all
|
||||||
version: 1.5.3
|
version: 1.5.4
|
||||||
groups:
|
groups:
|
||||||
- csharp
|
- csharp
|
||||||
- solorigate
|
- solorigate
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 1.5.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 1.5.3
|
## 1.5.3
|
||||||
|
|
||||||
No user-facing changes.
|
No user-facing changes.
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
## 1.5.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 1.5.3
|
lastReleaseVersion: 1.5.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/csharp-solorigate-queries
|
name: codeql/csharp-solorigate-queries
|
||||||
version: 1.5.3
|
version: 1.5.4
|
||||||
groups:
|
groups:
|
||||||
- csharp
|
- csharp
|
||||||
- solorigate
|
- solorigate
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.6.3
|
## 0.6.3
|
||||||
|
|
||||||
### Major Analysis Improvements
|
### Major Analysis Improvements
|
||||||
|
|||||||
3
csharp/ql/lib/change-notes/released/0.6.4.md
Normal file
3
csharp/ql/lib/change-notes/released/0.6.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.6.3
|
lastReleaseVersion: 0.6.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/csharp-all
|
name: codeql/csharp-all
|
||||||
version: 0.6.3
|
version: 0.6.4
|
||||||
groups: csharp
|
groups: csharp
|
||||||
dbscheme: semmlecode.csharp.dbscheme
|
dbscheme: semmlecode.csharp.dbscheme
|
||||||
extractor: csharp
|
extractor: csharp
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.6.3
|
## 0.6.3
|
||||||
|
|
||||||
No user-facing changes.
|
No user-facing changes.
|
||||||
|
|||||||
3
csharp/ql/src/change-notes/released/0.6.4.md
Normal file
3
csharp/ql/src/change-notes/released/0.6.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.6.3
|
lastReleaseVersion: 0.6.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/csharp-queries
|
name: codeql/csharp-queries
|
||||||
version: 0.6.3
|
version: 0.6.4
|
||||||
groups:
|
groups:
|
||||||
- csharp
|
- csharp
|
||||||
- queries
|
- queries
|
||||||
|
|||||||
@@ -164,6 +164,38 @@ If the call resolves to a predicate without result, then the call is a formula.
|
|||||||
It is also possible to call a predicate with result. This kind of call is an
|
It is also possible to call a predicate with result. This kind of call is an
|
||||||
expression in QL, instead of a formula. For more information, see ":ref:`calls-with-result`."
|
expression in QL, instead of a formula. For more information, see ":ref:`calls-with-result`."
|
||||||
|
|
||||||
|
Member predicates only apply to members of a particular class and calls to
|
||||||
|
member predicates have a receiver of a matching type. Syntactically, if a call
|
||||||
|
contains a dot, then the expression before the dot specifies the receiver of
|
||||||
|
the call. For instance, ``x`` is the receiver for the call ``x.isEven()``.
|
||||||
|
|
||||||
|
For calls to member predicates of the enclosing class on the member itself
|
||||||
|
(i.e., the value of ``this``), the receiver may be omitted syntactically. In
|
||||||
|
this case we say the call has an implicit this receiver. For instance, in the
|
||||||
|
following example the ``isEven()`` call in ``isOdd()`` is a member predicate
|
||||||
|
call with an implicit this receiver and the call is equivalent to
|
||||||
|
``this.isEven()``:
|
||||||
|
|
||||||
|
.. code-block:: ql
|
||||||
|
|
||||||
|
class OneTwoThree extends int {
|
||||||
|
OneTwoThree() { this = 1 or this = 2 or this = 3 }
|
||||||
|
|
||||||
|
predicate isEven() { this = 2 }
|
||||||
|
|
||||||
|
predicate isOdd() { not isEven() }
|
||||||
|
}
|
||||||
|
|
||||||
|
Use of implicit this receivers can make it harder to spot predicates that introduce
|
||||||
|
cartesian products by failing to relate the implicit ``this`` variable with
|
||||||
|
other variables, which can negatively affect query performance. For more
|
||||||
|
information on cartesian products, see ":ref:`Troubleshooting query performance
|
||||||
|
<troubleshooting-query-performance>`".
|
||||||
|
|
||||||
|
It is possible to enable warnings about implicit this receivers for `CodeQL packs
|
||||||
|
<https://docs.github.com/en/code-security/codeql-cli/codeql-cli-reference/about-codeql-packs#warnonimplicitthis>`__
|
||||||
|
through the ``warnOnImplicitThis`` property.
|
||||||
|
|
||||||
.. _parenthesized-formulas:
|
.. _parenthesized-formulas:
|
||||||
|
|
||||||
Parenthesized formulas
|
Parenthesized formulas
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.5.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.5.3
|
## 0.5.3
|
||||||
|
|
||||||
No user-facing changes.
|
No user-facing changes.
|
||||||
|
|||||||
3
go/ql/lib/change-notes/released/0.5.4.md
Normal file
3
go/ql/lib/change-notes/released/0.5.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.5.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.5.3
|
lastReleaseVersion: 0.5.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/go-all
|
name: codeql/go-all
|
||||||
version: 0.5.3
|
version: 0.5.4
|
||||||
groups: go
|
groups: go
|
||||||
dbscheme: go.dbscheme
|
dbscheme: go.dbscheme
|
||||||
extractor: go
|
extractor: go
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.5.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.5.3
|
## 0.5.3
|
||||||
|
|
||||||
No user-facing changes.
|
No user-facing changes.
|
||||||
|
|||||||
3
go/ql/src/change-notes/released/0.5.4.md
Normal file
3
go/ql/src/change-notes/released/0.5.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.5.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.5.3
|
lastReleaseVersion: 0.5.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/go-queries
|
name: codeql/go-queries
|
||||||
version: 0.5.3
|
version: 0.5.4
|
||||||
groups:
|
groups:
|
||||||
- go
|
- go
|
||||||
- queries
|
- queries
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
|||||||
|
description: Remove ENUM_ENTRIES
|
||||||
|
compatibility: full
|
||||||
@@ -1701,12 +1701,13 @@ open class KotlinFileExtractor(
|
|||||||
|
|
||||||
private fun extractSyntheticBody(b: IrSyntheticBody, callable: Label<out DbCallable>) {
|
private fun extractSyntheticBody(b: IrSyntheticBody, callable: Label<out DbCallable>) {
|
||||||
with("synthetic body", b) {
|
with("synthetic body", b) {
|
||||||
when (b.kind) {
|
val kind = b.kind
|
||||||
IrSyntheticBodyKind.ENUM_VALUES -> tw.writeKtSyntheticBody(callable, 1)
|
when {
|
||||||
IrSyntheticBodyKind.ENUM_VALUEOF -> tw.writeKtSyntheticBody(callable, 2)
|
kind == IrSyntheticBodyKind.ENUM_VALUES -> tw.writeKtSyntheticBody(callable, 1)
|
||||||
|
kind == IrSyntheticBodyKind.ENUM_VALUEOF -> tw.writeKtSyntheticBody(callable, 2)
|
||||||
|
kind == kind_ENUM_ENTRIES -> tw.writeKtSyntheticBody(callable, 3)
|
||||||
else -> {
|
else -> {
|
||||||
// TODO: Support IrSyntheticBodyKind.ENUM_ENTRIES
|
logger.errorElement("Unhandled synthetic body kind " + kind, b)
|
||||||
logger.errorElement("Unhandled synthetic body kind " + b.kind.javaClass, b)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5316,7 +5317,10 @@ open class KotlinFileExtractor(
|
|||||||
private fun extractTypeAccessRecursive(t: IrType, location: Label<out DbLocation>, parent: Label<out DbExprparent>, idx: Int, typeContext: TypeContext = TypeContext.OTHER): Label<out DbExpr> {
|
private fun extractTypeAccessRecursive(t: IrType, location: Label<out DbLocation>, parent: Label<out DbExprparent>, idx: Int, typeContext: TypeContext = TypeContext.OTHER): Label<out DbExpr> {
|
||||||
val typeAccessId = extractTypeAccess(useType(t, typeContext), location, parent, idx)
|
val typeAccessId = extractTypeAccess(useType(t, typeContext), location, parent, idx)
|
||||||
if (t is IrSimpleType) {
|
if (t is IrSimpleType) {
|
||||||
t.arguments.forEachIndexed { argIdx, arg ->
|
// From 1.9, the list might change when we call erase,
|
||||||
|
// so we make a copy that it is safe to iterate over.
|
||||||
|
val argumentsCopy = t.arguments.toList()
|
||||||
|
argumentsCopy.forEachIndexed { argIdx, arg ->
|
||||||
extractWildcardTypeAccessRecursive(arg, location, typeAccessId, argIdx)
|
extractWildcardTypeAccessRecursive(arg, location, typeAccessId, argIdx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
package com.github.codeql.utils.versions
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.ir.expressions.IrSyntheticBodyKind
|
||||||
|
|
||||||
|
val kind_ENUM_ENTRIES: IrSyntheticBodyKind? = null
|
||||||
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
package com.github.codeql.utils.versions
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.ir.expressions.IrSyntheticBodyKind
|
||||||
|
|
||||||
|
val kind_ENUM_ENTRIES: IrSyntheticBodyKind? = IrSyntheticBodyKind.ENUM_ENTRIES
|
||||||
|
|
||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.6.3
|
## 0.6.3
|
||||||
|
|
||||||
### New Features
|
### New Features
|
||||||
|
|||||||
3
java/ql/lib/change-notes/released/0.6.4.md
Normal file
3
java/ql/lib/change-notes/released/0.6.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.6.3
|
lastReleaseVersion: 0.6.4
|
||||||
|
|||||||
@@ -1219,6 +1219,7 @@ ktSyntheticBody(
|
|||||||
int kind: int ref
|
int kind: int ref
|
||||||
// 1: ENUM_VALUES
|
// 1: ENUM_VALUES
|
||||||
// 2: ENUM_VALUEOF
|
// 2: ENUM_VALUEOF
|
||||||
|
// 3: ENUM_ENTRIES
|
||||||
)
|
)
|
||||||
|
|
||||||
ktLocalFunction(
|
ktLocalFunction(
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/java-all
|
name: codeql/java-all
|
||||||
version: 0.6.3
|
version: 0.6.4
|
||||||
groups: java
|
groups: java
|
||||||
dbscheme: config/semmlecode.dbscheme
|
dbscheme: config/semmlecode.dbscheme
|
||||||
extractor: java
|
extractor: java
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
|||||||
|
description: Add ENUM_ENTRIES
|
||||||
|
compatibility: full
|
||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.6.3
|
## 0.6.3
|
||||||
|
|
||||||
### Minor Analysis Improvements
|
### Minor Analysis Improvements
|
||||||
|
|||||||
3
java/ql/src/change-notes/released/0.6.4.md
Normal file
3
java/ql/src/change-notes/released/0.6.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.6.3
|
lastReleaseVersion: 0.6.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/java-queries
|
name: codeql/java-queries
|
||||||
version: 0.6.3
|
version: 0.6.4
|
||||||
groups:
|
groups:
|
||||||
- java
|
- java
|
||||||
- queries
|
- queries
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.6.3
|
## 0.6.3
|
||||||
|
|
||||||
### Major Analysis Improvements
|
### Major Analysis Improvements
|
||||||
|
|||||||
3
javascript/ql/lib/change-notes/released/0.6.4.md
Normal file
3
javascript/ql/lib/change-notes/released/0.6.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.6.3
|
lastReleaseVersion: 0.6.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/javascript-all
|
name: codeql/javascript-all
|
||||||
version: 0.6.3
|
version: 0.6.4
|
||||||
groups: javascript
|
groups: javascript
|
||||||
dbscheme: semmlecode.javascript.dbscheme
|
dbscheme: semmlecode.javascript.dbscheme
|
||||||
extractor: javascript
|
extractor: javascript
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.6.3
|
## 0.6.3
|
||||||
|
|
||||||
### Minor Analysis Improvements
|
### Minor Analysis Improvements
|
||||||
|
|||||||
3
javascript/ql/src/change-notes/released/0.6.4.md
Normal file
3
javascript/ql/src/change-notes/released/0.6.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.6.3
|
lastReleaseVersion: 0.6.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/javascript-queries
|
name: codeql/javascript-queries
|
||||||
version: 0.6.3
|
version: 0.6.4
|
||||||
groups:
|
groups:
|
||||||
- javascript
|
- javascript
|
||||||
- queries
|
- queries
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.5.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.5.3
|
## 0.5.3
|
||||||
|
|
||||||
No user-facing changes.
|
No user-facing changes.
|
||||||
|
|||||||
3
misc/suite-helpers/change-notes/released/0.5.4.md
Normal file
3
misc/suite-helpers/change-notes/released/0.5.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.5.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.5.3
|
lastReleaseVersion: 0.5.4
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
name: codeql/suite-helpers
|
name: codeql/suite-helpers
|
||||||
version: 0.5.3
|
version: 0.5.4
|
||||||
groups: shared
|
groups: shared
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.9.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.9.3
|
## 0.9.3
|
||||||
|
|
||||||
No user-facing changes.
|
No user-facing changes.
|
||||||
|
|||||||
3
python/ql/lib/change-notes/released/0.9.4.md
Normal file
3
python/ql/lib/change-notes/released/0.9.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.9.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.9.3
|
lastReleaseVersion: 0.9.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/python-all
|
name: codeql/python-all
|
||||||
version: 0.9.3
|
version: 0.9.4
|
||||||
groups: python
|
groups: python
|
||||||
dbscheme: semmlecode.python.dbscheme
|
dbscheme: semmlecode.python.dbscheme
|
||||||
extractor: python
|
extractor: python
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.7.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.7.3
|
## 0.7.3
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|||||||
3
python/ql/src/change-notes/released/0.7.4.md
Normal file
3
python/ql/src/change-notes/released/0.7.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.7.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.7.3
|
lastReleaseVersion: 0.7.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/python-queries
|
name: codeql/python-queries
|
||||||
version: 0.7.3
|
version: 0.7.4
|
||||||
groups:
|
groups:
|
||||||
- python
|
- python
|
||||||
- queries
|
- queries
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.6.3
|
## 0.6.3
|
||||||
|
|
||||||
### Minor Analysis Improvements
|
### Minor Analysis Improvements
|
||||||
|
|||||||
3
ruby/ql/lib/change-notes/released/0.6.4.md
Normal file
3
ruby/ql/lib/change-notes/released/0.6.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.6.3
|
lastReleaseVersion: 0.6.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/ruby-all
|
name: codeql/ruby-all
|
||||||
version: 0.6.3
|
version: 0.6.4
|
||||||
groups: ruby
|
groups: ruby
|
||||||
extractor: ruby
|
extractor: ruby
|
||||||
dbscheme: ruby.dbscheme
|
dbscheme: ruby.dbscheme
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.6.3
|
## 0.6.3
|
||||||
|
|
||||||
### Minor Analysis Improvements
|
### Minor Analysis Improvements
|
||||||
|
|||||||
3
ruby/ql/src/change-notes/released/0.6.4.md
Normal file
3
ruby/ql/src/change-notes/released/0.6.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.6.4
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.6.3
|
lastReleaseVersion: 0.6.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/ruby-queries
|
name: codeql/ruby-queries
|
||||||
version: 0.6.3
|
version: 0.6.4
|
||||||
groups:
|
groups:
|
||||||
- ruby
|
- ruby
|
||||||
- queries
|
- queries
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.0.15
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.0.14
|
## 0.0.14
|
||||||
|
|
||||||
No user-facing changes.
|
No user-facing changes.
|
||||||
|
|||||||
3
shared/regex/change-notes/released/0.0.15.md
Normal file
3
shared/regex/change-notes/released/0.0.15.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.0.15
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.0.14
|
lastReleaseVersion: 0.0.15
|
||||||
|
|||||||
@@ -451,7 +451,15 @@ module Make<RegexTreeViewSig TreeImpl> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bindingset[char]
|
bindingset[char]
|
||||||
override predicate matches(string char) { not hasChildThatMatches(cc, char) }
|
override predicate matches(string char) {
|
||||||
|
not hasChildThatMatches(cc, char) and
|
||||||
|
(
|
||||||
|
// detect unsupported char classes that doesn't match anything (e.g. `\p{L}` in ruby), and don't report any matches
|
||||||
|
hasChildThatMatches(cc, _)
|
||||||
|
or
|
||||||
|
not exists(cc.getAChild()) // [^] still matches everything
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -536,7 +544,9 @@ module Make<RegexTreeViewSig TreeImpl> {
|
|||||||
|
|
||||||
bindingset[char]
|
bindingset[char]
|
||||||
override predicate matches(string char) {
|
override predicate matches(string char) {
|
||||||
not classEscapeMatches(charClass.toLowerCase(), char)
|
not classEscapeMatches(charClass.toLowerCase(), char) and
|
||||||
|
// detect unsupported char classes (e.g. `\p{L}` in ruby), and don't report any matches
|
||||||
|
classEscapeMatches(charClass.toLowerCase(), _)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/regex
|
name: codeql/regex
|
||||||
version: 0.0.14
|
version: 0.0.15
|
||||||
groups: shared
|
groups: shared
|
||||||
library: true
|
library: true
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.0.19
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.0.18
|
## 0.0.18
|
||||||
|
|
||||||
No user-facing changes.
|
No user-facing changes.
|
||||||
|
|||||||
3
shared/ssa/change-notes/released/0.0.19.md
Normal file
3
shared/ssa/change-notes/released/0.0.19.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.0.19
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.0.18
|
lastReleaseVersion: 0.0.19
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/ssa
|
name: codeql/ssa
|
||||||
version: 0.0.18
|
version: 0.0.19
|
||||||
groups: shared
|
groups: shared
|
||||||
library: true
|
library: true
|
||||||
warnOnImplicitThis: true
|
warnOnImplicitThis: true
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.0.12
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.0.11
|
## 0.0.11
|
||||||
|
|
||||||
No user-facing changes.
|
No user-facing changes.
|
||||||
|
|||||||
3
shared/tutorial/change-notes/released/0.0.12.md
Normal file
3
shared/tutorial/change-notes/released/0.0.12.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.0.12
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.0.11
|
lastReleaseVersion: 0.0.12
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name: codeql/tutorial
|
name: codeql/tutorial
|
||||||
description: Library for the CodeQL detective tutorials, helping new users learn to write CodeQL queries.
|
description: Library for the CodeQL detective tutorials, helping new users learn to write CodeQL queries.
|
||||||
version: 0.0.11
|
version: 0.0.12
|
||||||
groups: shared
|
groups: shared
|
||||||
library: true
|
library: true
|
||||||
warnOnImplicitThis: true
|
warnOnImplicitThis: true
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.0.12
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.0.11
|
## 0.0.11
|
||||||
|
|
||||||
No user-facing changes.
|
No user-facing changes.
|
||||||
|
|||||||
3
shared/typetracking/change-notes/released/0.0.12.md
Normal file
3
shared/typetracking/change-notes/released/0.0.12.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.0.12
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.0.11
|
lastReleaseVersion: 0.0.12
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/typetracking
|
name: codeql/typetracking
|
||||||
version: 0.0.11
|
version: 0.0.12
|
||||||
groups: shared
|
groups: shared
|
||||||
library: true
|
library: true
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.0.19
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
|
|
||||||
## 0.0.18
|
## 0.0.18
|
||||||
|
|
||||||
No user-facing changes.
|
No user-facing changes.
|
||||||
|
|||||||
3
shared/typos/change-notes/released/0.0.19.md
Normal file
3
shared/typos/change-notes/released/0.0.19.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.0.19
|
||||||
|
|
||||||
|
No user-facing changes.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
lastReleaseVersion: 0.0.18
|
lastReleaseVersion: 0.0.19
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: codeql/typos
|
name: codeql/typos
|
||||||
version: 0.0.18
|
version: 0.0.19
|
||||||
groups: shared
|
groups: shared
|
||||||
library: true
|
library: true
|
||||||
warnOnImplicitThis: true
|
warnOnImplicitThis: true
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user