mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
Merge rc/1.18 into next.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import default
|
||||
import semmle.code.cpp.ssa.SSAIR
|
||||
import semmle.code.cpp.ssa.internal.IntegerConstant
|
||||
import semmle.code.cpp.ir.IR
|
||||
import semmle.code.cpp.ir.internal.IntegerConstant
|
||||
|
||||
language[monotonicAggregates]
|
||||
IntValue getConstantValue(Instruction instr) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import cpp
|
||||
import semmle.code.cpp.ssa.internal.IntegerConstant as Ints
|
||||
import semmle.code.cpp.ir.internal.IntegerConstant as Ints
|
||||
|
||||
bindingset[n]
|
||||
string resultString(int n) {
|
||||
@@ -1,6 +1,6 @@
|
||||
import default
|
||||
import semmle.code.cpp.ssa.internal.ssa.AliasAnalysis
|
||||
import semmle.code.cpp.ir.IR
|
||||
import semmle.code.cpp.ir.implementation.unaliased_ssa.internal.AliasAnalysis
|
||||
import semmle.code.cpp.ir.implementation.raw.IR
|
||||
|
||||
predicate shouldEscape(IRAutomaticUserVariable var) {
|
||||
exists(string name |
|
||||
@@ -1,6 +1,6 @@
|
||||
import default
|
||||
import semmle.code.cpp.ssa.internal.ssa.AliasAnalysis
|
||||
import semmle.code.cpp.ir.IR
|
||||
import semmle.code.cpp.ir.implementation.unaliased_ssa.internal.AliasAnalysis
|
||||
import semmle.code.cpp.ir.implementation.raw.IR
|
||||
|
||||
from Instruction instr, string pointsTo
|
||||
where
|
||||
@@ -1,6 +1,6 @@
|
||||
import default
|
||||
import semmle.code.cpp.ssa.internal.aliased_ssa.AliasAnalysis
|
||||
import semmle.code.cpp.ssa.SSAIR
|
||||
import semmle.code.cpp.ir.implementation.aliased_ssa.internal.AliasAnalysis
|
||||
import semmle.code.cpp.ir.implementation.unaliased_ssa.IR
|
||||
|
||||
predicate shouldEscape(IRAutomaticUserVariable var) {
|
||||
exists(string name |
|
||||
@@ -1 +0,0 @@
|
||||
semmle/code/cpp/ssa/AliasedSSAIRSanity.ql
|
||||
@@ -1 +0,0 @@
|
||||
semmle/code/cpp/ssa/SSAIRSanity.ql
|
||||
@@ -1 +1 @@
|
||||
semmle/code/cpp/ssa/PrintAliasedSSAIR.ql
|
||||
semmle/code/cpp/ir/PrintIR.ql
|
||||
@@ -1 +0,0 @@
|
||||
semmle/code/cpp/ir/PrintIR.ql
|
||||
1
cpp/ql/test/library-tests/ir/ir/raw_ir.qlref
Normal file
1
cpp/ql/test/library-tests/ir/ir/raw_ir.qlref
Normal file
@@ -0,0 +1 @@
|
||||
semmle/code/cpp/ir/implementation/raw/PrintIR.ql
|
||||
1
cpp/ql/test/library-tests/ir/ir/raw_sanity.qlref
Normal file
1
cpp/ql/test/library-tests/ir/ir/raw_sanity.qlref
Normal file
@@ -0,0 +1 @@
|
||||
semmle/code/cpp/ir/implementation/raw/IRSanity.ql
|
||||
@@ -1,5 +1,5 @@
|
||||
import default
|
||||
import semmle.code.cpp.ssa.SSAIR
|
||||
import semmle.code.cpp.ir.IR
|
||||
|
||||
from FunctionIR funcIR
|
||||
select funcIR.toString(), count(funcIR.getABlock())
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
semmle/code/cpp/ssa/PrintSSAIR.ql
|
||||
1
cpp/ql/test/library-tests/ir/ir/unaliased_ssa_ir.qlref
Normal file
1
cpp/ql/test/library-tests/ir/ir/unaliased_ssa_ir.qlref
Normal file
@@ -0,0 +1 @@
|
||||
semmle/code/cpp/ir/implementation/unaliased_ssa/PrintIR.ql
|
||||
@@ -0,0 +1 @@
|
||||
semmle/code/cpp/ir/implementation/unaliased_ssa/IRSanity.ql
|
||||
Reference in New Issue
Block a user