Skip to content

Commit 36c4213

Browse files
hmacRasmusWL
authored andcommitted
Introduce ConceptsShared.qll
1 parent 870521b commit 36c4213

File tree

7 files changed

+39
-1
lines changed

7 files changed

+39
-1
lines changed

config/identical-files.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,5 +515,10 @@
515515
"java/ql/lib/semmle/code/java/dataflow/internal/AccessPathSyntax.qll",
516516
"javascript/ql/lib/semmle/javascript/frameworks/data/internal/AccessPathSyntax.qll",
517517
"ruby/ql/lib/codeql/ruby/dataflow/internal/AccessPathSyntax.qll"
518+
],
519+
"Concepts Python/Ruby/JS": [
520+
"python/ql/lib/semmle/python/internal/ConceptsShared.qll",
521+
"ruby/ql/lib/codeql/ruby/internal/ConceptsShared.qll",
522+
"javascript/ql/lib/semmle/javascript/internal/ConceptsShared.qll"
518523
]
519-
}
524+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* This file contains imports required for the JavaScript version of `ConceptsShared.qll`.
3+
* Since they are language-specific, they can't be placed directly in that file, as it is shared between languages.
4+
*/
5+
6+
import semmle.javascript.dataflow.DataFlow
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* Provides Concepts which are shared across languages. See `Concepts.qll` for details.
3+
*/
4+
5+
private import ConceptsImports
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* This file contains imports required for the Python version of `ConceptsShared.qll`.
3+
* Since they are language-specific, they can't be placed directly in that file, as it is shared between languages.
4+
*/
5+
6+
import semmle.python.dataflow.new.DataFlow
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* Provides Concepts which are shared across languages. See `Concepts.qll` for details.
3+
*/
4+
5+
private import ConceptsImports
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* This file contains imports required for the Ruby version of `ConceptsShared.qll`.
3+
* Since they are language-specific, they can't be placed directly in that file, as it is shared between languages.
4+
*/
5+
6+
import codeql.ruby.DataFlow
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* Provides Concepts which are shared across languages. See `Concepts.qll` for details.
3+
*/
4+
5+
private import ConceptsImports

0 commit comments

Comments
 (0)