Tom Hvitved
|
04d1c82005
|
Merge pull request #17689 from hvitved/rust/print-ast
Rust: `PrintAst` improvements
|
2024-10-09 15:54:30 +02:00 |
|
Geoffrey White
|
f3d727fadc
|
Rust: Correct spurious annotations.
|
2024-10-09 11:52:24 +01:00 |
|
Geoffrey White
|
fa1c92dbe7
|
Rust: Another case worth having.
|
2024-10-09 11:50:29 +01:00 |
|
Geoffrey White
|
7a6eabc8a3
|
Rust: Additional test cases.
|
2024-10-09 11:31:44 +01:00 |
|
Tom Hvitved
|
11016e193c
|
Rust: PrintAst improvements
|
2024-10-09 10:41:30 +02:00 |
|
Geoffrey White
|
41218fb89f
|
Rust: Test spacing / variable names.
|
2024-10-09 09:17:24 +01:00 |
|
Tom Hvitved
|
fcf1b6d6f5
|
Merge pull request #17657 from hvitved/rust/cfg-conditional-splitting
Rust: Implement `ConditionalCompletionSplitting`
|
2024-10-08 16:21:14 +02:00 |
|
Tom Hvitved
|
cb1ca4c75c
|
Update rust/ql/lib/codeql/rust/controlflow/internal/Completion.qll
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
|
2024-10-08 13:41:24 +02:00 |
|
Tom Hvitved
|
50c2d108ca
|
Rust: Fix CompoundAssignmentExpr charpred
|
2024-10-04 14:48:07 +02:00 |
|
Tom Hvitved
|
aa5e0c39ba
|
Rust: Implement ConditionalCompletionSplitting
|
2024-10-03 21:25:50 +02:00 |
|
Tom Hvitved
|
a9cf33ce18
|
Rust: &x is neither a read nor a write
|
2024-10-03 20:20:59 +02:00 |
|
Tom Hvitved
|
05f85497ed
|
Rust: Add &mut variable tests
|
2024-10-03 19:55:07 +02:00 |
|
Geoffrey White
|
369241e1ea
|
Merge pull request #5 from hvitved/unusedvar2
Rust: Account for variables bound in `while let` expressions
|
2024-10-03 14:04:38 +01:00 |
|
Geoffrey White
|
ccaf2dd9ea
|
Rust: Temporarily limit results (hopefully enough for the DCA job to cope).
|
2024-10-03 13:44:04 +01:00 |
|
Tom Hvitved
|
cd04500dd9
|
Rust: Account for variables bound in while let expressions
|
2024-10-03 14:05:24 +02:00 |
|
Geoffrey White
|
0304aa846c
|
Rust: Add more tests for uused variables.
|
2024-10-03 12:37:02 +01:00 |
|
Geoffrey White
|
821398715c
|
Rust: Test spacing.
|
2024-10-03 11:55:11 +01:00 |
|
Tom Hvitved
|
97c2387904
|
Merge pull request #17644 from hvitved/rust/break-continue-target
|
2024-10-03 11:38:27 +02:00 |
|
Geoffrey White
|
f7db47b771
|
Merge pull request #17588 from geoffw0/loc2
Rust: Improve lines-of-code counts.
|
2024-10-02 18:13:36 +01:00 |
|
Geoffrey White
|
0b6ec4624e
|
Rust: Autoformat.
|
2024-10-02 17:05:01 +01:00 |
|
Geoffrey White
|
d6848f5c5d
|
Rust: Apparently a doc comment here was illegal.
|
2024-10-02 17:00:28 +01:00 |
|
Geoffrey White
|
01abcf8537
|
Rust: Use just end locations for now, to avoid all false positive lines caused by attached comments.
|
2024-10-02 16:54:02 +01:00 |
|
Geoffrey White
|
8c87b66bea
|
Rust: Add more test cases for comments.
|
2024-10-02 16:52:19 +01:00 |
|
Tom Hvitved
|
6da3972433
|
Rust: Simplify break/continue CFG labels
|
2024-10-02 15:45:18 +02:00 |
|
Tom Hvitved
|
1266f9757d
|
Rust: Add {BreakExpr,ContinueExpr}.getTarget()
|
2024-10-02 15:45:16 +02:00 |
|
Tom Hvitved
|
000dedf3e8
|
Rust: Output CFG for library-tests/variables
|
2024-10-02 15:45:14 +02:00 |
|
Tom Hvitved
|
3a1f6efce4
|
Address review comments
|
2024-10-02 13:37:24 +02:00 |
|
Geoffrey White
|
8243f87179
|
Rust: Modify the exclusion as suggested in comments.
|
2024-10-02 11:38:29 +01:00 |
|
Tom Hvitved
|
fb9ec2423c
|
Rust: Implement UnusedVariable.ql
|
2024-10-02 11:22:32 +02:00 |
|
Tom Hvitved
|
9c7216fe4f
|
Rust: Add another CFG test
|
2024-10-02 10:59:26 +02:00 |
|
Tom Hvitved
|
69e0ad0181
|
Rust: Refactor CFG implementation for loops
|
2024-10-02 10:55:52 +02:00 |
|
Tom Hvitved
|
8f0b7f0969
|
Rust: Use propagatesAbnormal in two places
|
2024-10-01 21:49:08 +02:00 |
|
Tom Hvitved
|
c4eafb2cf3
|
Rust: Skip ParenExprs in the CFG
|
2024-10-01 21:26:49 +02:00 |
|
Tom Hvitved
|
8b66dc16ad
|
Rust: Fix CFG for labelled block expressions
|
2024-10-01 21:03:36 +02:00 |
|
Tom Hvitved
|
e8cb3490e6
|
Rust: Refine deadEnd consistency check
|
2024-10-01 21:02:55 +02:00 |
|
Tom Hvitved
|
85957767c9
|
Rust: Fix CFG for while let loops
|
2024-10-01 21:02:17 +02:00 |
|
Tom Hvitved
|
071076875c
|
Rust: Make more CFG nodes leaves
|
2024-10-01 21:01:56 +02:00 |
|
Tom Hvitved
|
26c69b8f8a
|
Rust: Add more CFG tests
|
2024-10-01 21:01:49 +02:00 |
|
Tom Hvitved
|
bbd0aa929f
|
Rust: Add more missing CFG trees
|
2024-10-01 21:01:26 +02:00 |
|
Tom Hvitved
|
17770af491
|
Rust: Account for let statement else blocks in deadEnd
|
2024-10-01 21:00:39 +02:00 |
|
Tom Hvitved
|
a507854288
|
Rust: Fix bug in BooleanCompletion.isValidForSpecific0
|
2024-10-01 21:00:33 +02:00 |
|
Tom Hvitved
|
8c1fd8fa7a
|
Rust: Implement CFG for ForExprs
|
2024-10-01 21:00:09 +02:00 |
|
Tom Hvitved
|
f3e3734424
|
Rust: Implement CFG for WhileExprs
|
2024-10-01 20:59:41 +02:00 |
|
Tom Hvitved
|
5444a5bf8a
|
Rust: Extend while and for CFG tests
|
2024-10-01 20:59:13 +02:00 |
|
Geoffrey White
|
3a54c10f36
|
Rust: For now exclude top-level AST elements from LOC counts. This is not ideal.
|
2024-10-01 17:35:30 +01:00 |
|
Geoffrey White
|
74826032ef
|
Merge branch 'main' into loc2 and accept new test results.
|
2024-10-01 16:10:39 +01:00 |
|
Tom Hvitved
|
91e26d0f44
|
Rust: Add another variable test
|
2024-10-01 13:45:58 +02:00 |
|
Tom Hvitved
|
a172063e6a
|
Rust: Document VariableOrAccessCand
|
2024-10-01 13:38:18 +02:00 |
|
Tom Hvitved
|
b0efffd8f0
|
Rust: AST support for variables
|
2024-10-01 10:10:08 +02:00 |
|
Tom Hvitved
|
a282efc43e
|
Rust: Add inline test expectations library
|
2024-10-01 09:50:05 +02:00 |
|