SSA: Strip `shared` from namespace and qlpack name

This commit is contained in:
Tom Hvitved 2022-09-05 11:17:30 +02:00
Родитель ba62b9e822
Коммит 9ebabd1e1f
14 изменённых файлов: 16 добавлений и 16 удалений

Просмотреть файл

@ -6,4 +6,4 @@ extractor: cpp
library: true
upgrades: upgrades
dependencies:
codeql/shared-ssa: 0.0.1-dev
codeql/ssa: 0.0.1

Просмотреть файл

@ -4,7 +4,7 @@ private import DataFlowUtil
private import DataFlowImplCommon as DataFlowImplCommon
private import semmle.code.cpp.models.interfaces.Allocation as Alloc
private import semmle.code.cpp.models.interfaces.DataFlow as DataFlow
private import codeql.shared.ssa.Ssa as SsaImplCommon
private import codeql.ssa.Ssa as SsaImplCommon
private module SourceVariables {
private newtype TSourceVariable =

Просмотреть файл

@ -6,4 +6,4 @@ extractor: csharp
library: true
upgrades: upgrades
dependencies:
codeql/shared-ssa: 0.0.1-dev
codeql/ssa: 0.0.1

Просмотреть файл

@ -1,5 +1,5 @@
private import cil
private import codeql.shared.ssa.Ssa as SsaImplCommon
private import codeql.ssa.Ssa as SsaImplCommon
private module SsaInput implements SsaImplCommon::InputSig {
class BasicBlock = CIL::BasicBlock;

Просмотреть файл

@ -9,7 +9,7 @@ module PreSsa {
private import AssignableDefinitions
private import semmle.code.csharp.controlflow.internal.ControlFlowGraphImpl
private import semmle.code.csharp.controlflow.internal.PreBasicBlocks as PreBasicBlocks
private import codeql.shared.ssa.Ssa as SsaImplCommon
private import codeql.ssa.Ssa as SsaImplCommon
private predicate definitionAt(
AssignableDefinition def, SsaInput::BasicBlock bb, int i, SsaInput::SourceVariable v

Просмотреть файл

@ -5,7 +5,7 @@ import csharp
*/
module BaseSsa {
private import AssignableDefinitions
private import codeql.shared.ssa.Ssa as SsaImplCommon
private import codeql.ssa.Ssa as SsaImplCommon
/**
* Holds if the `i`th node of basic block `bb` is assignable definition `def`,

Просмотреть файл

@ -3,7 +3,7 @@
*/
import csharp
private import codeql.shared.ssa.Ssa as SsaImplCommon
private import codeql.ssa.Ssa as SsaImplCommon
private import AssignableDefinitions
private module SsaInput implements SsaImplCommon::InputSig {

Просмотреть файл

@ -1,4 +1,4 @@
private import codeql.shared.ssa.Ssa as SsaImplCommon
private import codeql.ssa.Ssa as SsaImplCommon
private import codeql.ruby.AST
private import codeql.ruby.CFG as CFG
private import codeql.ruby.ast.Variable

Просмотреть файл

@ -6,4 +6,4 @@ dbscheme: ruby.dbscheme
upgrades: upgrades
library: true
dependencies:
codeql/shared-ssa: 0.0.1-dev
codeql/ssa: 0.0.1

Просмотреть файл

@ -4,14 +4,14 @@ This folder contains shared, language-agnostic CodeQL libraries.
Libraries are organized into separate query packs, in order to allow for
individual versioning. For example, the shared static single assignment (SSA)
library exists in the `codeql/shared-ssa` pack, which can be referenced by adding
library exists in the `codeql/ssa` pack, which can be referenced by adding
```
dependencies:
codeql/shared-ssa: 0.0.1-dev
codeql/ssa: 0.0.1
```
to `qlpack.yml`.
All shared libraries will belong to a `codeql/shared-<name>` pack, and live in the
namespace `codeql.shared.<name>`.
All shared libraries will belong to a `codeql/<name>` pack, and live in the
namespace `codeql.<name>`.

Просмотреть файл

Просмотреть файл

@ -1,4 +1,4 @@
name: codeql/shared-ssa
name: codeql/ssa
version: 0.0.1-dev
groups: shared
library: true

Просмотреть файл

@ -1,7 +1,7 @@
cached
module Ssa {
private import swift
private import codeql.shared.ssa.Ssa as SsaImplCommon
private import codeql.ssa.Ssa as SsaImplCommon
private import codeql.swift.controlflow.CfgNodes
private import codeql.swift.controlflow.ControlFlowGraph
private import codeql.swift.controlflow.BasicBlocks as BasicBlocks

Просмотреть файл

@ -6,4 +6,4 @@ dbscheme: swift.dbscheme
upgrades: upgrades
library: true
dependencies:
codeql/shared-ssa: 0.0.1-dev
codeql/ssa: 0.0.1