Mathias Vorreiter Pedersen
4406065807
QL: QL: Respond to PR reviews.
2021-10-14 10:48:54 +01:00
Tom Hvitved
3dc09a3cda
Revert changes to shared/generated files
2021-10-14 11:42:05 +02:00
Anders Schack-Mulligen
57cb300759
C++/C#/Java/JavaScript/Python: Remove singleton set literals.
2021-10-14 11:34:22 +02:00
Mathias Vorreiter Pedersen
7d9c408af4
Merge pull request #87 from github/mathiasvp/superfluous-exists
...
New query: Unnecessary 'exists'
2021-10-14 10:23:53 +01:00
Mathias Vorreiter Pedersen
dd6abdc06b
QL: Merge pull request #87 from github/mathiasvp/superfluous-exists
...
New query: Unnecessary 'exists'
2021-10-14 10:23:53 +01:00
Taus
5a519c5089
Add test for override
...
This test demonstrates that our handling of `override` is incorrect.
Quick-eval'ing the `test` predicate produces the following output:
| f | i | j |
+---+-----+-----+
| 1 | 10 | 10 |
| 1 | 10 | 100 |
| 1 | 100 | 10 |
| 1 | 100 | 100 |
| 2 | 20 | 20 |
| 3 | 3 | 3 |
this demonstrates that `f.bar` and `f.baz` can resolve to all predicates
of that name in the file.
However, at present we only capture the calls to members on `Foo`.
2021-10-14 09:14:59 +00:00
Taus
b5bef24ce2
QL: Add test for override
...
This test demonstrates that our handling of `override` is incorrect.
Quick-eval'ing the `test` predicate produces the following output:
| f | i | j |
+---+-----+-----+
| 1 | 10 | 10 |
| 1 | 10 | 100 |
| 1 | 100 | 10 |
| 1 | 100 | 100 |
| 2 | 20 | 20 |
| 3 | 3 | 3 |
this demonstrates that `f.bar` and `f.baz` can resolve to all predicates
of that name in the file.
However, at present we only capture the calls to members on `Foo`.
2021-10-14 09:14:59 +00:00
Erik Krogh Kristensen
f7ff83c2e7
Merge pull request #93 from github/aschackmull/delete-vscode-file
...
Delete this file that vscode keeps changing for me.
2021-10-14 11:01:33 +02:00
Erik Krogh Kristensen
fb491c392e
QL: Merge pull request #93 from github/aschackmull/delete-vscode-file
...
Delete this file that vscode keeps changing for me.
2021-10-14 11:01:33 +02:00
Anders Schack-Mulligen
11fd4f4997
Delete this file that vscode keeps changing for me.
2021-10-14 10:59:39 +02:00
Anders Schack-Mulligen
56d9c351d5
QL: Delete this file that vscode keeps changing for me.
2021-10-14 10:59:39 +02:00
Mathias Vorreiter Pedersen
bff9665866
Merge branch 'main' into mathiasvp/superfluous-exists
2021-10-14 09:49:40 +01:00
Mathias Vorreiter Pedersen
1762b4fb91
QL: Merge branch 'main' into mathiasvp/superfluous-exists
2021-10-14 09:49:40 +01:00
Taus
f0a8c77095
Merge pull request #91 from github/tausbn/fix-parsing-of-unique
...
Fix parsing of `unique`
2021-10-14 10:21:49 +02:00
Taus
2cedddfce8
QL: Merge pull request #91 from github/tausbn/fix-parsing-of-unique
...
Fix parsing of `unique`
2021-10-14 10:21:49 +02:00
Erik Krogh Kristensen
a358a192c4
add explicit this to all calls to class predicates
2021-10-14 10:11:55 +02:00
Erik Krogh Kristensen
cbd55f2299
add explicit this to all calls to class predicates
2021-10-14 10:10:00 +02:00
Taus
a5fcc5c15a
Fix parsing of unique
2021-10-14 08:09:13 +00:00
Taus
5d975089c1
QL: Fix parsing of unique
2021-10-14 08:09:13 +00:00
Mathias Vorreiter Pedersen
455a34a1ec
Merge pull request #77 from github/erik-krogh/qlpacks
...
add pretty AST for YAML and a QLPack utility class
2021-10-14 08:42:52 +01:00
Mathias Vorreiter Pedersen
18c427cddc
QL: Merge pull request #77 from github/erik-krogh/qlpacks
...
add pretty AST for YAML and a QLPack utility class
2021-10-14 08:42:52 +01:00
Mathias Vorreiter Pedersen
e46ccc072e
Merge pull request #82 from github/esbena/codeql-action-on-other-repos
2021-10-14 07:44:15 +01:00
Mathias Vorreiter Pedersen
238fba9b6e
QL: Merge pull request #82 from github/esbena/codeql-action-on-other-repos
2021-10-14 07:44:15 +01:00
Esben Sparre Andreasen
0ff2de9b5e
restrict the queries that are run by default
2021-10-14 08:12:04 +02:00
Esben Sparre Andreasen
b0cbb31895
QL: restrict the queries that are run by default
2021-10-14 08:12:04 +02:00
Esben Sparre Andreasen
98b359bd9a
Add codeql-go sources ( abe3f2148b)
2021-10-14 08:09:51 +02:00
Esben Sparre Andreasen
3039206eab
QL: Add codeql-go sources ( abe3f2148b)
2021-10-14 08:09:51 +02:00
Esben Sparre Andreasen
53e17e7835
Add codeql sources ( a2371370ff)
2021-10-14 08:09:51 +02:00
Esben Sparre Andreasen
808fd78d96
QL: Add codeql sources ( a2371370ff)
2021-10-14 08:09:51 +02:00
Esben Sparre Andreasen
9826e7df1d
Add codeql-ruby sources ( 236643fc43)
2021-10-14 08:09:50 +02:00
Esben Sparre Andreasen
946c572413
QL: Add codeql-ruby sources ( 236643fc43)
2021-10-14 08:09:50 +02:00
Esben Sparre Andreasen
d9f38826f7
Implement import-repositories.sh
2021-10-14 08:09:50 +02:00
Esben Sparre Andreasen
d8e1e3e8c0
QL: Implement import-repositories.sh
2021-10-14 08:09:50 +02:00
Mathias Vorreiter Pedersen
c5bcb7999e
QL: Complete the GVN library.
2021-10-13 22:48:45 +01:00
Mathias Vorreiter Pedersen
c21df48bcd
QL: QL: Complete the GVN library.
2021-10-13 22:48:45 +01:00
Mathias Vorreiter Pedersen
a2371370ff
Merge pull request #6865 from MathiasVP/fix-if-none
...
C++/C#/JS/Python: Replace 'if p() then q() else none()' with a conjunction
2021-10-13 19:47:55 +01:00
Mathias Vorreiter Pedersen
4991301f36
JS: Fix incorrect fix.
2021-10-13 19:45:02 +01:00
Erik Krogh Kristensen
5e7adc661f
autoformat
2021-10-13 20:26:40 +02:00
Erik Krogh Kristensen
4958b8ba0d
QL: autoformat
2021-10-13 20:26:40 +02:00
Tom Hvitved
c14dcfbfe4
Data flow: Sync
2021-10-13 20:13:28 +02:00
CodeQL CI
2b0415e238
Merge pull request #6741 from yoff/python/model-os-path-file-accesses
...
Approved by RasmusWL
2021-10-13 11:11:41 -07:00
Tom Hvitved
5be7a97a16
Data flow: Avoid unnecessary non-linear recursion via getConfiguration()
2021-10-13 20:10:26 +02:00
Tom Hvitved
ee44e742f6
Data flow: Avoid bad join-order in pathIntoCallable0
2021-10-13 20:09:43 +02:00
Arthur Baars
236643fc43
Merge pull request #356 from github/rc/3.3
...
Merge rc/3.3 into main
2021-10-13 19:21:36 +02:00
Arthur Baars
240b33f119
Merge pull request #355 from github/aeisenberg/bump-submodule
...
Bump codeql submodule
2021-10-13 18:50:25 +02:00
Mathias Vorreiter Pedersen
5b881c2151
Merge pull request #73 from github/tausbn/add-implicit-this-query
...
Add "implicit `this`" query
2021-10-13 17:36:02 +01:00
Mathias Vorreiter Pedersen
ce3a531daf
QL: Merge pull request #73 from github/tausbn/add-implicit-this-query
...
Add "implicit `this`" query
2021-10-13 17:36:02 +01:00
Mathias Vorreiter Pedersen
c3141125af
QL: Add a query that finds unnecessary 'exists'.
2021-10-13 17:31:29 +01:00
Mathias Vorreiter Pedersen
a917f240cf
QL: QL: Add a query that finds unnecessary 'exists'.
2021-10-13 17:31:29 +01:00
Andrew Eisenberg
ef8eff8c29
Bump codeql submodule
2021-10-13 09:30:52 -07:00