Skip to content

Commit 9ebabd1

Browse files
committed
SSA: Strip shared from namespace and qlpack name
1 parent ba62b9e commit 9ebabd1

File tree

14 files changed

+16
-16
lines changed

14 files changed

+16
-16
lines changed

cpp/ql/lib/qlpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ extractor: cpp
66
library: true
77
upgrades: upgrades
88
dependencies:
9-
codeql/shared-ssa: 0.0.1-dev
9+
codeql/ssa: 0.0.1

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/SsaInternals.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ private import DataFlowUtil
44
private import DataFlowImplCommon as DataFlowImplCommon
55
private import semmle.code.cpp.models.interfaces.Allocation as Alloc
66
private import semmle.code.cpp.models.interfaces.DataFlow as DataFlow
7-
private import codeql.shared.ssa.Ssa as SsaImplCommon
7+
private import codeql.ssa.Ssa as SsaImplCommon
88

99
private module SourceVariables {
1010
private newtype TSourceVariable =

csharp/ql/lib/qlpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ extractor: csharp
66
library: true
77
upgrades: upgrades
88
dependencies:
9-
codeql/shared-ssa: 0.0.1-dev
9+
codeql/ssa: 0.0.1

csharp/ql/lib/semmle/code/cil/internal/SsaImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
private import cil
2-
private import codeql.shared.ssa.Ssa as SsaImplCommon
2+
private import codeql.ssa.Ssa as SsaImplCommon
33

44
private module SsaInput implements SsaImplCommon::InputSig {
55
class BasicBlock = CIL::BasicBlock;

csharp/ql/lib/semmle/code/csharp/controlflow/internal/PreSsa.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module PreSsa {
99
private import AssignableDefinitions
1010
private import semmle.code.csharp.controlflow.internal.ControlFlowGraphImpl
1111
private import semmle.code.csharp.controlflow.internal.PreBasicBlocks as PreBasicBlocks
12-
private import codeql.shared.ssa.Ssa as SsaImplCommon
12+
private import codeql.ssa.Ssa as SsaImplCommon
1313

1414
private predicate definitionAt(
1515
AssignableDefinition def, SsaInput::BasicBlock bb, int i, SsaInput::SourceVariable v

csharp/ql/lib/semmle/code/csharp/dataflow/internal/BaseSSA.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import csharp
55
*/
66
module BaseSsa {
77
private import AssignableDefinitions
8-
private import codeql.shared.ssa.Ssa as SsaImplCommon
8+
private import codeql.ssa.Ssa as SsaImplCommon
99

1010
/**
1111
* Holds if the `i`th node of basic block `bb` is assignable definition `def`,

csharp/ql/lib/semmle/code/csharp/dataflow/internal/SsaImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
import csharp
6-
private import codeql.shared.ssa.Ssa as SsaImplCommon
6+
private import codeql.ssa.Ssa as SsaImplCommon
77
private import AssignableDefinitions
88

99
private module SsaInput implements SsaImplCommon::InputSig {

ruby/ql/lib/codeql/ruby/dataflow/internal/SsaImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
private import codeql.shared.ssa.Ssa as SsaImplCommon
1+
private import codeql.ssa.Ssa as SsaImplCommon
22
private import codeql.ruby.AST
33
private import codeql.ruby.CFG as CFG
44
private import codeql.ruby.ast.Variable

ruby/ql/lib/qlpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ dbscheme: ruby.dbscheme
66
upgrades: upgrades
77
library: true
88
dependencies:
9-
codeql/shared-ssa: 0.0.1-dev
9+
codeql/ssa: 0.0.1

shared/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ This folder contains shared, language-agnostic CodeQL libraries.
44

55
Libraries are organized into separate query packs, in order to allow for
66
individual versioning. For example, the shared static single assignment (SSA)
7-
library exists in the `codeql/shared-ssa` pack, which can be referenced by adding
7+
library exists in the `codeql/ssa` pack, which can be referenced by adding
88

99
```
1010
dependencies:
11-
codeql/shared-ssa: 0.0.1-dev
11+
codeql/ssa: 0.0.1
1212
```
1313

1414
to `qlpack.yml`.
1515

16-
All shared libraries will belong to a `codeql/shared-<name>` pack, and live in the
17-
namespace `codeql.shared.<name>`.
16+
All shared libraries will belong to a `codeql/<name>` pack, and live in the
17+
namespace `codeql.<name>`.

0 commit comments

Comments
 (0)