Skip to content

Commit b54f037

Browse files
committed
Merge branch 'main' into refacReDoS
2 parents b9e96fb + 1d56330 commit b54f037

File tree

502 files changed

+42013
-31010
lines changed

Some content is hidden

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

502 files changed

+42013
-31010
lines changed

.github/workflows/ql-for-ql-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
"${CODEQL}" pack create
4141
cd .codeql/pack/codeql/ql/0.0.0
4242
zip "${PACKZIP}" -r .
43+
rm -rf *
4344
env:
4445
CODEQL: ${{ steps.find-codeql.outputs.codeql-path }}
4546
PACKZIP: ${{ runner.temp }}/query-pack.zip
@@ -117,6 +118,7 @@ jobs:
117118
fi
118119
cd pack
119120
zip -rq ../codeql-ql.zip .
121+
rm -rf *
120122
- uses: actions/upload-artifact@v3
121123
with:
122124
name: codeql-ql-pack
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
class AttributeArgument extends @attribute_arg {
2+
string toString() { none() }
3+
}
4+
5+
class Attribute extends @attribute {
6+
string toString() { none() }
7+
}
8+
9+
class LocationDefault extends @location_default {
10+
string toString() { none() }
11+
}
12+
13+
from AttributeArgument arg, int kind, Attribute attr, int index, LocationDefault location
14+
where
15+
attribute_args(arg, kind, attr, index, location) and
16+
not arg instanceof @attribute_arg_constant_expr
17+
select arg, kind, attr, index, location

0 commit comments

Comments
 (0)