Skip to content

Commit fba37aa

Browse files
authored
Merge branch 'main' into java/experimental/command-injection
2 parents fc7f840 + e011480 commit fba37aa

File tree

226 files changed

+12238
-56081
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

226 files changed

+12238
-56081
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.1.2
1+
6.3.1

config/identical-files.json

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,4 @@
11
{
2-
"DataFlow Java/C++/C#/Go/Python/Ruby/Swift": [
3-
"java/ql/lib/semmle/code/java/dataflow/internal/DataFlow.qll",
4-
"cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlow.qll",
5-
"cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlow.qll",
6-
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlow.qll",
7-
"go/ql/lib/semmle/go/dataflow/internal/DataFlow.qll",
8-
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlow.qll",
9-
"ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlow.qll",
10-
"swift/ql/lib/codeql/swift/dataflow/internal/DataFlow.qll"
11-
],
12-
"DataFlowImpl Java/C++/C#/Go/Python/Ruby/Swift": [
13-
"java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImpl.qll",
14-
"cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll",
15-
"cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll",
16-
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll",
17-
"go/ql/lib/semmle/go/dataflow/internal/DataFlowImpl.qll",
18-
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl.qll",
19-
"ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImpl.qll",
20-
"swift/ql/lib/codeql/swift/dataflow/internal/DataFlowImpl.qll"
21-
],
222
"DataFlow Java/C++/C#/Go/Python/Ruby/Swift Legacy Configuration": [
233
"java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImpl1.qll",
244
"java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImpl2.qll",
@@ -53,16 +33,6 @@
5333
"ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImplForPathname.qll",
5434
"swift/ql/lib/codeql/swift/dataflow/internal/DataFlowImpl1.qll"
5535
],
56-
"DataFlow Java/C++/C#/Go/Python/Ruby/Swift Common": [
57-
"java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImplCommon.qll",
58-
"cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImplCommon.qll",
59-
"cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImplCommon.qll",
60-
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImplCommon.qll",
61-
"go/ql/lib/semmle/go/dataflow/internal/DataFlowImplCommon.qll",
62-
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplCommon.qll",
63-
"ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImplCommon.qll",
64-
"swift/ql/lib/codeql/swift/dataflow/internal/DataFlowImplCommon.qll"
65-
],
6636
"TaintTracking Java/C++/C#/Go/Python/Ruby/Swift": [
6737
"cpp/ql/lib/semmle/code/cpp/dataflow/internal/tainttracking1/TaintTracking.qll",
6838
"cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/tainttracking1/TaintTracking.qll",
@@ -516,7 +486,6 @@
516486
],
517487
"CFG": [
518488
"csharp/ql/lib/semmle/code/csharp/controlflow/internal/ControlFlowGraphImplShared.qll",
519-
"ruby/ql/lib/codeql/ruby/controlflow/internal/ControlFlowGraphImplShared.qll",
520489
"swift/ql/lib/codeql/swift/controlflow/internal/ControlFlowGraphImplShared.qll"
521490
],
522491
"TypeTracker": [
@@ -603,4 +572,4 @@
603572
"python/ql/lib/semmle/python/security/internal/EncryptionKeySizes.qll",
604573
"java/ql/lib/semmle/code/java/security/internal/EncryptionKeySizes.qll"
605574
]
606-
}
575+
}

cpp/ql/lib/qlpack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ extractor: cpp
66
library: true
77
upgrades: upgrades
88
dependencies:
9+
codeql/dataflow: ${workspace}
910
codeql/ssa: ${workspace}
1011
codeql/tutorial: ${workspace}
1112
codeql/util: ${workspace}

cpp/ql/lib/semmle/code/cpp/dataflow/DataFlow.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ import cpp
2626
* global (inter-procedural) data flow analyses.
2727
*/
2828
deprecated module DataFlow {
29-
import semmle.code.cpp.dataflow.internal.DataFlow
29+
private import semmle.code.cpp.dataflow.internal.DataFlowImplSpecific
30+
private import codeql.dataflow.DataFlow
31+
import DataFlowMake<CppOldDataFlow>
3032
import semmle.code.cpp.dataflow.internal.DataFlowImpl1
3133
}

0 commit comments

Comments
 (0)