зеркало из https://github.com/github/codeql.git
SSA: Strip `shared` from namespace and qlpack name
This commit is contained in:
Родитель
ba62b9e822
Коммит
9ebabd1e1f
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче