Skip to content

Commit 0cd89bf

Browse files
authored
Merge branch 'main' into fix/update-gson-model
2 parents 95ce7c9 + 6713436 commit 0cd89bf

File tree

383 files changed

+23117
-2315
lines changed

Some content is hidden

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

383 files changed

+23117
-2315
lines changed

config/identical-files.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -454,10 +454,6 @@
454454
"ruby/ql/lib/codeql/ruby/security/internal/SensitiveDataHeuristics.qll",
455455
"swift/ql/lib/codeql/swift/security/internal/SensitiveDataHeuristics.qll"
456456
],
457-
"SummaryTypeTracker": [
458-
"python/ql/lib/semmle/python/dataflow/new/internal/SummaryTypeTracker.qll",
459-
"ruby/ql/lib/codeql/ruby/typetracking/internal/SummaryTypeTracker.qll"
460-
],
461457
"IncompleteUrlSubstringSanitization": [
462458
"javascript/ql/src/Security/CWE-020/IncompleteUrlSubstringSanitization.qll",
463459
"ruby/ql/src/queries/security/cwe-020/IncompleteUrlSubstringSanitization.qll"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
class AttributeArg extends @attribute_arg {
2+
string toString() { none() }
3+
}
4+
5+
class Attribute extends @attribute {
6+
string toString() { none() }
7+
}
8+
9+
class Location extends @location_default {
10+
string toString() { none() }
11+
}
12+
13+
from AttributeArg arg, int kind, int kind_new, Attribute attr, int index, Location location
14+
where
15+
attribute_args(arg, kind, attr, index, location) and
16+
if arg instanceof @attribute_arg_expr then kind_new = 0 else kind_new = kind
17+
select arg, kind_new, attr, index, location

0 commit comments

Comments
 (0)