Skip to content

Commit 459c2a2

Browse files
committed
Merge branch 'main' into ql-untangle-parsers
2 parents c652f3e + 6b94cdb commit 459c2a2

File tree

273 files changed

+22302
-7098
lines changed

Some content is hidden

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

273 files changed

+22302
-7098
lines changed

config/identical-files.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,12 @@
507507
"python/ql/lib/semmle/python/security/BadTagFilterQuery.qll",
508508
"ruby/ql/lib/codeql/ruby/security/BadTagFilterQuery.qll"
509509
],
510+
"OverlyLargeRange Python/JS/Ruby/Java": [
511+
"javascript/ql/lib/semmle/javascript/security/OverlyLargeRangeQuery.qll",
512+
"python/ql/lib/semmle/python/security/OverlyLargeRangeQuery.qll",
513+
"ruby/ql/lib/codeql/ruby/security/OverlyLargeRangeQuery.qll",
514+
"java/ql/lib/semmle/code/java/security/OverlyLargeRangeQuery.qll"
515+
],
510516
"CFG": [
511517
"csharp/ql/lib/semmle/code/csharp/controlflow/internal/ControlFlowGraphImplShared.qll",
512518
"ruby/ql/lib/codeql/ruby/controlflow/internal/ControlFlowGraphImplShared.qll",
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
class Expr extends @expr {
2+
string toString() { none() }
3+
}
4+
5+
class Location extends @location_expr {
6+
string toString() { none() }
7+
}
8+
9+
from Expr expr, int kind, int kind_new, Location location
10+
where
11+
exprs(expr, kind, location) and
12+
if expr instanceof @blockassignexpr then kind_new = 0 else kind_new = kind
13+
select expr, kind_new, location

0 commit comments

Comments
 (0)