Commit Graph

86439 Commits

Author SHA1 Message Date
Arthur Baars
dc7958071a Rust: re-enable attribute macro expansion in library mode 2025-05-27 10:54:48 +02:00
Jeroen Ketema
329d451d4d Swift: Add change note 2025-05-27 10:53:57 +02:00
Jeroen Ketema
0f2d2b7697 Merge pull request #19582 from jketema/jketema/swift-type
Swift: Fix type string representation
2025-05-27 10:44:41 +02:00
Geoffrey White
c97173735c Merge pull request #19562 from geoffw0/operations3
Rust: Add more Operation subclasses
2025-05-27 09:26:35 +01:00
Geoffrey White
1e64f50c3c Apply suggestions from code review
Co-authored-by: Simon Friis Vindum <paldepind@github.com>
2025-05-27 08:51:00 +01:00
Asger F
076e4a49d5 JS: Mark AngularJS $location as client-side remote flow source 2025-05-27 09:47:43 +02:00
Napalys Klicius
5214cc0407 Excluded ngrx, datorama, angular, react and langchain from stream pipe query. 2025-05-27 09:45:37 +02:00
Napalys Klicius
1f6b3ad929 Update javascript/ql/src/codeql-suites/javascript-security-and-quality.qls
Co-authored-by: Michael Nebel <michaelnebel@github.com>
2025-05-27 09:38:24 +02:00
Simon Friis Vindum
ba4950fb89 Rust: Accept test changes 2025-05-27 09:35:40 +02:00
Simon Friis Vindum
5278064407 Rust: Only include relevant AST nodes in TypeMention 2025-05-27 09:35:30 +02:00
Simon Friis Vindum
96cba8b8c2 Rust: Add inconsistency check for type mentions without a root type 2025-05-27 09:33:59 +02:00
Simon Friis Vindum
bf2cfab931 Merge pull request #19575 from paldepind/rust/function-call-method
Rust: Resolve function calls to traits methods
2025-05-27 09:28:36 +02:00
Paolo Tranquilli
c3af98b5cd Rust: skip unexpanded stuff in library emission
This will skip all unexpanded entities in library extraction, where we
only really care about expanded things. This means skipping:

* the token tree of macro calls
* the unexpanded AST of attribute macros

In the latter case, in order to replace the single `Item` with its
expansion (which is a `MacroItems` entity), we wrap the `MacroItems` in
a dummy `MacroCall` with null path.
2025-05-27 09:09:07 +02:00
Paolo Tranquilli
b99b25cc9c Merge pull request #19572 from github/redsun82/rust-macro
Rust: turn off macro expansion in code to be expanded by attribute macros
2025-05-27 08:29:20 +02:00
Arthur Baars
765afdbae0 Rust: add option to extract dependencies as source files 2025-05-26 18:21:35 +02:00
Jeroen Ketema
f17076e212 Swift: Update expected test results 2025-05-26 16:41:05 +02:00
Jeroen Ketema
b4d2fb45ab Swift: Fix type string representation 2025-05-26 16:22:20 +02:00
Simon Friis Vindum
0ce06e8818 Rust: Use member predicate from path resolution 2025-05-26 15:12:33 +02:00
Napalys Klicius
e964b175e6 Added maintainability and error-handling tags 2025-05-26 14:23:20 +02:00
Paolo Tranquilli
a749cf934a Rust: accept test changes 2025-05-26 14:15:56 +02:00
Tom Hvitved
ba7726462f Rust: Also include prelude path resolution in Core 2025-05-26 12:17:25 +02:00
Paolo Tranquilli
add3c941a2 Merge branch 'main' into redsun82/rust-macro 2025-05-26 11:47:58 +02:00
Napalys Klicius
37024ade85 JS: Move query suite selector logic to javascript-security-and-quality.qls 2025-05-26 11:00:48 +02:00
Paolo Tranquilli
1005994f34 Merge branch 'main' into redsun82/rust-extract-libs 2025-05-26 10:58:22 +02:00
Anders Schack-Mulligen
a519eabd4d Merge pull request #19571 from aschackmull/rangeanalysis/guards
Rangeanalysis: Simplify Guards integration.
2025-05-26 10:36:22 +02:00
Jeroen Ketema
27fd7c48fa Swift: Update macOS runner 2025-05-26 10:17:19 +02:00
Paolo Tranquilli
292cd34efe Rust: fix format 2025-05-26 10:11:55 +02:00
Tom Hvitved
fcfe0a27aa Merge pull request #19570 from hvitved/type-inference/simplify-type-path-repr
Type inference: Simplify internal representation of type paths
2025-05-26 10:05:50 +02:00
Paolo Tranquilli
e37a24a0d0 Rust: minor refactoring 2025-05-26 09:54:01 +02:00
Paolo Tranquilli
a946de48fd Merge branch 'main' into redsun82/rust-extract-libs 2025-05-26 09:00:31 +02:00
Jeroen Ketema
bb9c72f889 Swift: Update to Swift 6.1.1 2025-05-25 21:13:18 +02:00
Simon Friis Vindum
e778cbe768 Rust: Resolve function calls to traits methods 2025-05-24 10:25:46 +02:00
Simon Friis Vindum
e4d1b01361 Rust: Add type inference test with function call to trait method 2025-05-24 08:56:33 +02:00
Tom Hvitved
16690cc3cc Merge pull request #19506 from github/aibaars/rust-extract-libs 2025-05-24 06:09:50 +02:00
Arthur Baars
5b28ff1116 Merge branch 'main' into aibaars/rust-extract-libs 2025-05-23 22:05:29 +02:00
Jeroen Ketema
10f6e1ceb8 C++: Add change note 2025-05-23 19:17:17 +02:00
Jeroen Ketema
fbc9615287 C++: Update expected test results 2025-05-23 16:03:47 +02:00
Jeroen Ketema
a77ddd7532 C++: Add Windows command line and environment models 2025-05-23 15:56:09 +02:00
Jeroen Ketema
b800040c73 C++: Add tests for various local Windows dataflow sources 2025-05-23 15:55:02 +02:00
Joe Farebrother
c070d04231 Fix qhelp 2025-05-23 14:31:13 +01:00
Joe Farebrother
e933a27cd9 Add changenote 2025-05-23 14:25:38 +01:00
Joe Farebrother
b15fec0fb9 Fix qhelp and tests 2025-05-23 14:17:21 +01:00
Mathias Vorreiter Pedersen
0822ded899 Merge pull request #19569 from MathiasVP/fix-return-value-surces-in-mad
Shared/C++: Handle non-standard return values in MaD flow sources/sinks
2025-05-23 13:58:26 +01:00
Paolo Tranquilli
5c294617c5 Rust: update a comment 2025-05-23 14:43:18 +02:00
Anders Schack-Mulligen
5b21188e0d C#: Sync. 2025-05-23 14:17:21 +02:00
Joe Farebrother
44a678a3f4 remove redundant import 2025-05-23 13:16:13 +01:00
Joe Farebrother
06504f2cb6 Update tests 2025-05-23 13:04:56 +01:00
Tom Hvitved
c8ff69af9a Rust: Fix bad join 2025-05-23 13:57:19 +02:00
Napalys Klicius
000e69fd48 Replaced fuzzy NonNodeStream MaD to a ql predicate to deal easier with submodules 2025-05-23 13:55:40 +02:00
Anders Schack-Mulligen
62000319fe Rangeanalysis: Simplify Guards integration. 2025-05-23 13:39:53 +02:00