github-actions[bot]
e02368f6fa
JS: Bump patch version of ML-powered library and query packs
2023-02-23 16:04:39 +00:00
Mathias Vorreiter Pedersen
858b3de547
Merge branch 'main' into join-order-metric-query
2023-02-23 15:54:38 +00:00
Mathias Vorreiter Pedersen
23b9abcbbf
QL: Add a query for finding the predicates with the highest tuple sums.
2023-02-23 15:53:32 +00:00
Mathias Vorreiter Pedersen
7595c1c306
QL: Add a visitor for traversing recursive evaluations.
2023-02-23 15:53:32 +00:00
Taus
d48938d168
Merge branch 'main' into calumgrant/slow-predicates
2023-02-23 16:53:04 +01:00
Taus
0419b5b24c
Merge pull request #12296 from github/tausbn/ql-remove-unused-predicates
...
QL: Remove unused predicates
2023-02-23 16:47:34 +01:00
Taus
38ca4a8d3d
QL: Remove unused predicates
2023-02-23 15:25:38 +00:00
Michael B. Gale
b034b2f2a3
Refactor autobuild logic into an IBuildRule
2023-02-23 14:54:37 +00:00
Chris Smowton
eb8a0c1129
Add test for a too-new Kotlin version
2023-02-23 14:53:27 +00:00
Mathias Vorreiter Pedersen
d7d9bea5e8
QL: Add a query for computing the join order metric for non-recursive predicates.
2023-02-23 14:27:39 +00:00
Geoffrey White
71813fa0a7
Swift: Implement full tree of Assignment classes
2023-02-23 13:23:36 +00:00
Geoffrey White
aaa89f7f32
Swift: Add a test for assignment exprs.
2023-02-23 13:15:06 +00:00
Mathias Vorreiter Pedersen
d734982e7b
Merge pull request #12286 from github/tausbn/ql-add-a-bunch-of-convenience-predicates
...
QL: Add predicates for timestamps and locations
2023-02-23 12:45:46 +00:00
Calum Grant
fccf2d705e
Add the expected file
2023-02-23 12:25:29 +00:00
Calum Grant
6cf575df78
Query and tests for sum without domain
2023-02-23 12:19:25 +00:00
gregxsunday
34b441c3cc
move query to experimental folder
2023-02-23 12:12:04 +00:00
gregxsunday
5a85fa12c7
add block test cases and update tests
2023-02-23 12:09:22 +00:00
gregxsunday
f9b5846675
add detection of sources directly used with blocks
2023-02-23 12:09:12 +00:00
Grzegorz Niedziela
4ab6a7bdfd
Merge branch 'github:main' into main
2023-02-23 10:50:15 +00:00
Calum Grant
564d7c0d53
Fix bug
2023-02-23 10:22:18 +00:00
Calum Grant
eb553266ae
Add this.
2023-02-23 09:51:29 +00:00
Calum Grant
58563744d6
A simple query
2023-02-23 09:50:09 +00:00
Tom Hvitved
ad37523b07
C#: Adopt shared file system implementation
2023-02-23 10:21:04 +01:00
Tom Hvitved
bd5ae88a9a
Ruby: Move FileSystem.qll implementation into shared util pack
2023-02-23 10:21:04 +01:00
Chris Smowton
748387a69f
Merge pull request #11943 from smowton/smowton/admin/java-autobuilder-diagnostic-tests
...
Java: Add tests for autobuilder-detected diagnostics
2023-02-23 09:20:03 +00:00
Michael Nebel
cf659f9a5e
Merge pull request #12261 from michaelnebel/csharpjava/refactorissupported
...
C#/Java: Re-factor the `isSupported` predicate.
2023-02-23 10:06:11 +01:00
Michael Nebel
ca94e02107
Merge pull request #12258 from michaelnebel/csharp/enumanddelegatemodfiers
...
C#: Generalise modifier extraction from symbols.
2023-02-23 10:04:55 +01:00
Paolo Tranquilli
8ed99bc83b
Merge pull request #12284 from github/redsun82/swift-printast
...
Swift: fix comments in PrintAst library
2023-02-23 09:27:14 +01:00
Rasmus Wriedt Larsen
b7bdc551d5
Python: Show import resolution is a bit generous with exported value
2023-02-23 00:55:58 +01:00
Rasmus Wriedt Larsen
96c0d95b10
Python: Illustrate that clashing_attr can be submodule
2023-02-23 00:55:58 +01:00
Rasmus Wriedt Larsen
13ae98ea76
Python: Fix submodule exported under wrong name (when attribute clash)
2023-02-23 00:55:30 +01:00
Rasmus Wriedt Larsen
373907265b
Python: Fixed most problems from last commit
...
That one line was an afterthought, and certainly did not work as
intended.
2023-02-23 00:39:45 +01:00
Rasmus Wriedt Larsen
97fefd2545
Python: Attempt to fix import flow
...
It's nice that it fixes the `InsecureProtocol` test-case (which maybe
should have been a test-case for the import resolution library in the
first place?)
But it's not quite right:
1. it adds spurious flow for `clashing_attr`
2. it runs into huge problems for typetracking_imports/tracked.expected
3. it runs into the problem for
https://github.com/github/codeql/pull/10176 with an `from <pkg>
import *` blocking flow from previously defined variable, that is NOT
overridden. (simplistic_reexport.bar_attr)
2023-02-23 00:36:30 +01:00
Rasmus Wriedt Larsen
bea0acb497
Python: Add barrier test to import resolution
...
Just like the one added for `py/insecure-protocol` in fb425b7 , but
instead added in the import-resolution tests, such that we don't have to
remember it's in a completely different directory.
2023-02-23 00:33:12 +01:00
Rasmus Wriedt Larsen
321a4b4ef2
Python: ModuleExport.ql test: ignore main.py
...
It's not very useful to look at, and it's a mess when you change any
tests to see all the changes lines in the expected output that you
really do not care about!
2023-02-23 00:31:05 +01:00
Taus
6a32a3ae58
QL: Add predicates for timestamps and locations
2023-02-22 22:47:51 +00:00
Mathias Vorreiter Pedersen
24935c97bc
Merge pull request #12285 from github/calumgrant/ql-ra-parser
...
RA parser first draft
2023-02-22 19:07:03 +00:00
Chris Smowton
560a341e87
Fix multiple-candidate-builds message
2023-02-22 17:43:08 +00:00
Chris Smowton
c4640a6a9a
Fix diagnostic markdown links
2023-02-22 17:43:08 +00:00
Chris Smowton
73e4480cc6
Update test expectations
2023-02-22 17:43:08 +00:00
Chris Smowton
2c216793a4
Diagnostics tests: don't create own diagnostics directory
...
The CLI does this now. Also omit default arguments to the integration test script.
2023-02-22 17:43:08 +00:00
Chris Smowton
53ac1e0133
Replace test absolute directory
2023-02-22 17:43:08 +00:00
Chris Smowton
57ac951451
Add tests for Java autobuilder errors
2023-02-22 17:43:08 +00:00
Chris Smowton
fd1ce5d12c
Switch to using language-specific diagnostic environment variable
2023-02-22 17:43:08 +00:00
Chris Smowton
7a2c6b5645
Java no-build-system test: switch to single-file diagnostics.expected format
2023-02-22 17:43:07 +00:00
Chris Smowton
40e45d3636
Add test for missing Java build system
2023-02-22 17:43:07 +00:00
Chris Smowton
7dc5e7e0fe
Merge pull request #12283 from github/smowton/admin/merge-rc38-into-main-2023
...
Merge rc/3.8 into main
2023-02-22 17:35:11 +00:00
Calum Grant
0fdcf0338a
Tidy up warnings
2023-02-22 17:02:49 +00:00
Calum Grant
f3e5a8f90f
Minor tidy
2023-02-22 17:01:07 +00:00
Calum Grant
9980756ee8
RA parser first draft
2023-02-22 16:51:16 +00:00