Tom Hvitved
|
133aca0773
|
Rust: Simple type inference for index expressions
|
2025-06-11 13:15:21 +02:00 |
|
Tom Hvitved
|
301bd44a4c
|
Rust: Add type inference tests for index expressions
|
2025-06-11 13:08:59 +02:00 |
|
Simon Friis Vindum
|
75caa182f5
|
Merge pull request #19724 from github/rust/type-inference-borrow
Rust: Implement type inference for ref expression as type equality
|
2025-06-11 12:36:43 +02:00 |
|
Paolo Tranquilli
|
fbcd9eaf09
|
Merge pull request #19674 from github/redsun82/mad
Rust: regenerate MaD files using DCA
|
2025-06-11 11:10:08 +02:00 |
|
Simon Friis Vindum
|
01701de4a7
|
Rust: Implement type inference for ref expression as type equality
|
2025-06-11 09:09:22 +02:00 |
|
Tom Hvitved
|
3fed7f5397
|
Merge pull request #19714 from hvitved/rust/fix-bad-join
Rust: Fix bad join
|
2025-06-11 09:08:52 +02:00 |
|
Simon Friis Vindum
|
8f5d9d7702
|
Rust: Add type inference tests for borrowing
|
2025-06-11 08:40:15 +02:00 |
|
Tom Hvitved
|
64ab7c78c8
|
Merge pull request #19717 from hvitved/rust/use-get-arg-param
Rust: Use `get(An){Arg,Param}` helper predicates
|
2025-06-10 18:48:51 +02:00 |
|
Geoffrey White
|
652d32d4ff
|
Merge pull request #19626 from geoffw0/futures
Rust: Model futures-io, rustls, futures-rustls
|
2025-06-10 15:23:43 +01:00 |
|
Tom Hvitved
|
e41b4f4022
|
Rust: Use get(An){Arg,Param} helper predicates
|
2025-06-10 15:45:34 +02:00 |
|
Paolo Tranquilli
|
8f0f2006a8
|
Merge pull request #19708 from github/redsun82/rust-getArg-getParam
Rust: add `Callable::getParam` and `CallExprBase::getArg` shortcuts
|
2025-06-10 15:31:05 +02:00 |
|
Tom Hvitved
|
209cfb78a3
|
Rust: Fix bad join
```
[2025-06-10 15:21:37] (83s) Tuple counts for TypeMention::PathTypeReprMention.aliasResolveTypeAt/1#dispred#ae16f47b#fbf#cpe#13/2@i5#5a5451wi after 57.7s:
205999 ~1028% {3} r1 = JOIN `TypeMention::TypeMention.resolveTypeAt/1#dispred#a125c821#bff#reorder_1_0_2#prev_delta` WITH `_TypeAlias::Generated::TypeAlias.getTypeRepr/0#dispred#5fd7e521_TypeMention::PathTypeReprMention#a35__#join_rhs#1` ON FIRST 2 OUTPUT Rhs.2, Lhs.2 'result', Rhs.3 'this'
{3} | AND NOT `project#TypeMention::pathGetTypeParameter/2#fd301eed#2`(FIRST 2)
204000 ~982% {2} | SCAN OUTPUT In.2 'this', In.1 'result'
5499 ~448% {7} r2 = JOIN `TypeMention::TypeMention.resolveTypeAt/1#dispred#a125c821#bff#reorder_0_2_1#prev_delta` WITH `_GenericArgList::GenericArgList.getTypeArg/1#dispred#1c780027_PathSegment::Generated::PathSegment.ge__#join_rhs#1` ON FIRST 1 OUTPUT Rhs.1, Rhs.2 'this', Rhs.3, Lhs.1 'result', _, Lhs.2, _
{5} | REWRITE WITH Tmp.4 := "", Tmp.6 := "", Out.4 := InverseAppend(Tmp.4,In.5,Tmp.6) KEEPING 5
2500 ~398% {5} | SCAN OUTPUT In.0, In.2, In.4, In.1 'this', In.3 'result'
0 ~0% {2} | JOIN WITH `TypeMention::TypeMention.resolveTypeAt/1#dispred#a125c821#bff#reorder_0_2_1#prev` ON FIRST 3 OUTPUT Lhs.3 'this', Lhs.4 'result'
9000 ~489% {7} r3 = JOIN `TypeMention::TypeMention.resolveTypeAt/1#dispred#a125c821#bff#reorder_0_2_1#prev_delta` WITH `_PathSegment::Generated::PathSegment.getGenericArgList/0#dispred#e072653b__Path::Generated::Path.get__#join_rhs#1` ON FIRST 1 OUTPUT Rhs.1, Rhs.2 'this', Rhs.3, Lhs.1, _, Lhs.2, _
{5} | REWRITE WITH Tmp.4 := "", Tmp.6 := "", Out.4 := InverseAppend(In.5,Tmp.4,Tmp.6) KEEPING 5
5000 ~411% {5} | SCAN OUTPUT In.4, In.0, In.1 'this', In.2, In.3
10461919500 ~610% {6} | JOIN WITH `TypeMention::TypeMention.resolveTypeAt/1#dispred#a125c821#bff#reorder_1_0_2#prev` ON FIRST 1 OUTPUT Lhs.3, Rhs.1, Lhs.1, Lhs.2 'this', Lhs.4, Rhs.2 'result'
500 ~0% {5} | JOIN WITH `GenericArgList::GenericArgList.getTypeArg/1#dispred#1c780027_021#join_rhs` ON FIRST 2 OUTPUT Lhs.2, Rhs.2, Lhs.4, Lhs.3 'this', Lhs.5 'result'
0 ~0% {2} | JOIN WITH `TypeMention::pathGetTypeParameter/2#fd301eed` ON FIRST 3 OUTPUT Lhs.3 'this', Lhs.4 'result'
204000 ~982% {2} r4 = r1 UNION r2 UNION r3
203964 ~982% {2} | AND NOT `TypeMention::PathTypeReprMention.aliasResolveTypeAt/1#dispred#ae16f47b#fbf#cpe#13#prev`(FIRST 2)
return r4
```
|
2025-06-10 15:25:05 +02:00 |
|
Geoffrey White
|
fd2154d389
|
Merge branch 'main' into futures
|
2025-06-10 14:16:06 +01:00 |
|
Tom Hvitved
|
791369dd0e
|
Merge pull request #19584 from hvitved/rust/type-inference-await
Rust: Type inference for `.await` expressions
|
2025-06-10 14:56:28 +02:00 |
|
Paolo Tranquilli
|
4ac4e44b50
|
Rust: accept test changes
|
2025-06-10 14:45:57 +02:00 |
|
Geoffrey White
|
918fa3684f
|
Merge branch 'main' into futures
|
2025-06-10 13:24:09 +01:00 |
|
Paolo Tranquilli
|
0d036992e0
|
Merge branch 'main' into redsun82/mad
|
2025-06-10 13:39:10 +02:00 |
|
Tom Hvitved
|
3d395dde47
|
Address review comments
|
2025-06-10 13:38:31 +02:00 |
|
Paolo Tranquilli
|
3562c48068
|
Merge branch 'main' into redsun82/rust-getArg-getParam
|
2025-06-10 13:15:37 +02:00 |
|
Paolo Tranquilli
|
3af10d2c6c
|
Merge pull request #19710 from github/redsun82/rust-fix-crate-graph-test
Rust: fix crate graph test
|
2025-06-10 13:15:22 +02:00 |
|
Tom Hvitved
|
c6efc05de1
|
Rust: Reimplement type inference for impl Traits and await expressions
|
2025-06-10 12:39:20 +02:00 |
|
Tom Hvitved
|
f2832712bc
|
Rust: Add more type inference tests
|
2025-06-10 12:38:40 +02:00 |
|
Tom Hvitved
|
821f2fd681
|
Rust: Type inference for .await expressions
|
2025-06-10 12:38:39 +02:00 |
|
Tom Hvitved
|
e6109cfcf1
|
Rust: Add type inference tests for impl Trait
|
2025-06-10 12:38:38 +02:00 |
|
Tom Hvitved
|
c32e05cc8a
|
Rust: Add async type inference tests
|
2025-06-10 12:38:37 +02:00 |
|
Tom Hvitved
|
79a8942b0f
|
Merge pull request #19614 from hvitved/rust/path-resolution-extern-crate
Rust: Path resolution for `extern crate`s
|
2025-06-10 12:37:46 +02:00 |
|
Paolo Tranquilli
|
6f25d7e35e
|
Rust: fix crate graph test
|
2025-06-10 11:57:20 +02:00 |
|
Paolo Tranquilli
|
bcfc009228
|
Merge branch 'main' into redsun82/mad
|
2025-06-10 10:53:52 +02:00 |
|
Paolo Tranquilli
|
e6056f9dfc
|
Update rust/ql/test/query-tests/security/CWE-770/main.rs
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
|
2025-06-10 10:52:18 +02:00 |
|
Paolo Tranquilli
|
a405a12e93
|
Rust: add Callable::getParam and CallExprBase::getArg shortcuts
|
2025-06-10 09:51:26 +02:00 |
|
github-actions[bot]
|
21463a9653
|
Post-release preparation for codeql-cli-2.22.0
|
2025-06-09 18:50:20 +00:00 |
|
github-actions[bot]
|
88ba02edf8
|
Release preparation for version 2.22.0
|
2025-06-09 18:14:51 +00:00 |
|
Chuan-kai Lin
|
631502e129
|
Merge branch 'main' into cklin/rc-3.18-mergeback
|
2025-06-09 07:19:40 -07:00 |
|
Paolo Tranquilli
|
e1eb1f6345
|
Rust: address review
Also fix some minor things in `bulk_generate_mad.py`.
|
2025-06-05 16:03:40 +02:00 |
|
Paolo Tranquilli
|
6162cf5dbb
|
Rust: accept test changes
|
2025-06-05 10:52:59 +02:00 |
|
Paolo Tranquilli
|
ec77eb3ec8
|
Rust: regenerate MaD models
|
2025-06-05 10:08:47 +02:00 |
|
Tom Hvitved
|
721ffb11cf
|
Rust: Path resolution for extern crates
|
2025-06-04 21:14:22 +02:00 |
|
Tom Hvitved
|
4fb4bfd6cf
|
Rust: Add path resolution test for extern crate
|
2025-06-04 21:13:29 +02:00 |
|
Tom Hvitved
|
76c6d7104d
|
Merge pull request #19669 from hvitved/rust/external-location-post-processing
Rust: Remove external locations in tests using post-processing
|
2025-06-04 16:52:40 +02:00 |
|
Arthur Baars
|
189c16b7bc
|
Merge pull request #19630 from github/aibaars/qldoc-ast
Rust: add documentation for AST nodes
|
2025-06-04 16:04:56 +02:00 |
|
Arthur Baars
|
39851bcab4
|
Rust: update expected output
|
2025-06-04 15:44:36 +02:00 |
|
Arthur Baars
|
e87878298e
|
Rust: run codegen
|
2025-06-04 15:41:52 +02:00 |
|
Tom Hvitved
|
aa0fc05df8
|
Rust: Remove external locations in tests using post-processing
|
2025-06-04 13:07:43 +02:00 |
|
Arthur Baars
|
4de3817b16
|
Merge pull request #19616 from github/aibaars/rust-fix-stats
Rust: restrict line and file counts to include only extracted source files
|
2025-06-03 11:31:54 +02:00 |
|
Arthur Baars
|
348dc9969b
|
Rust: remove stray space
|
2025-06-03 10:55:34 +02:00 |
|
Tom Hvitved
|
ae4a425608
|
Merge pull request #19605 from hvitved/rust/jump-to-def-extensions
Rust: Extend jump-to-def to include paths and `mod file;` imports
|
2025-06-03 10:19:28 +02:00 |
|
Tom Hvitved
|
3781de7b92
|
Rust: Reorder columns in Definitions.ql test
|
2025-06-03 09:53:45 +02:00 |
|
Tom Hvitved
|
52aa7e3c7d
|
Merge pull request #19624 from paldepind/type-inference-experiment
Rust: Refactor type equality
|
2025-06-02 19:06:18 +02:00 |
|
Arthur Baars
|
ae0c547e89
|
Rust: fix CFG for MacroPat
|
2025-06-02 16:37:55 +02:00 |
|
Arthur Baars
|
5c21c01ad0
|
Update rust/ql/src/queries/summary/Stats.qll
|
2025-06-02 15:42:43 +02:00 |
|