Jami Cogswell
5a23421d9a
Shared: minor updates to comments
2023-06-05 13:46:56 -04:00
Jami Cogswell
6c46cd9c21
Java/C#/Go/Swift: move 'SharedModelValidation.qll' to internal folder
2023-06-05 13:11:08 -04:00
Jami Cogswell
9d5972acc2
Shared: update qldocs
2023-06-05 12:18:34 -04:00
Jami Cogswell
3f1dc8e5c7
Shared: add outdated Swift sink kinds
2023-06-05 12:18:34 -04:00
Jami Cogswell
62ac0dc471
Shared: add outdated sink kind msg to 'getInvalidModelKind' for all languages
2023-06-05 12:18:33 -04:00
Jami Cogswell
76f5dca861
Shared: move 'OutdatedSinkKind' to shared file and add outdated JS and C# sink kinds
2023-06-05 12:18:33 -04:00
Jami Cogswell
7b629f5d63
Shared: include 'qltest%' and 'test-%'
2023-06-05 12:18:33 -04:00
Jami Cogswell
76508d17c6
Go/Swift: validate source/sink kinds
2023-06-05 12:18:33 -04:00
Jami Cogswell
615f2a573b
Java/C#/Go/Swift: remove commented-out code
2023-06-05 12:18:33 -04:00
Jami Cogswell
7317c29eea
Shared: update kind information
2023-06-05 12:18:33 -04:00
Jami Cogswell
79f61cc645
Java/C#/Go/Swift: use 'SharedModelValidation' file
2023-06-05 12:18:33 -04:00
Jami Cogswell
ddb5d92ef8
Shared: add source, summary, and neutral shared valid kinds
2023-06-05 12:18:33 -04:00
Jami Cogswell
869f820fcf
Shared: add 'SharedModelValidation' file as experiment
2023-06-05 12:18:33 -04:00
Paolo Tranquilli
dc26dc81a9
Merge pull request #13370 from github/redsun82/swift-fix-cmake
...
Swift: fix cmake generation
2023-06-05 14:52:40 +02:00
Michael B. Gale
06d48dca67
Merge pull request #13211 from github/mbg/identify-environment-stubs
...
Shared: Add stubs for `identify-environment` scripts
2023-06-05 10:29:06 +01:00
Paolo Tranquilli
400176f677
Swift: fix cmake generation
...
The bazel -> cmake generator is currently not capable of handling
separate included generated cmake files making use of common C/C++
dependencies.
To work around this limitation, a single generated cmake is now in
place. Long-term, we should either:
* make the cmake generator handle common dependencies gracefully, or
* make the cmake generation aspect travel up `pkg_` rules `srcs`
attributes
so to avoid having to list the targets to be generated in the top-level
`BUILD` file.
Other things fixed:
* removed some warning spam about redefined `BAZEL_CURRENT_REPOSITORY`
* fixed the final link step, that was failing because `libswiftCore.so`
was not being linked.
2023-06-05 11:12:11 +02:00
Michael B. Gale
5d89b0739b
Swift: Remove .cmd script
2023-06-05 09:12:21 +01:00
Geoffrey White
4c8225724b
Swift: Fix QL-for-QL warnings.
2023-06-02 12:21:17 +01:00
Geoffrey White
14d193383e
Swift: Put the change note in the right place.
2023-06-02 12:03:22 +01:00
Geoffrey White
8e8696a8ed
Swift: Autoformat.
2023-06-02 12:02:33 +01:00
Geoffrey White
c7c8807f40
Swift: Use FieldDecl.hasQualifiedName.
2023-06-02 11:56:16 +01:00
Geoffrey White
5bf82aeddf
Swift: Add FieldDecl.hasQualifiedName.
2023-06-02 11:13:57 +01:00
Geoffrey White
d7e4c5f044
Swift: Change note.
2023-06-02 10:42:52 +01:00
Geoffrey White
00cd347117
Swift: Add more heuristic expressions.
2023-06-02 10:42:52 +01:00
Geoffrey White
bc57e464e5
Swift: Add some more test cases.
2023-06-02 10:42:51 +01:00
Geoffrey White
edfdddb24a
Swift: Tweak and update the qldoc string.
2023-06-01 11:47:05 +01:00
Geoffrey White
d68f602124
Merge branch 'main' into sharedsensitive
2023-06-01 11:11:42 +01:00
Michael Nebel
06b02eb3ce
Sync files.
2023-06-01 09:30:31 +02:00
Arthur Baars
c211b704f3
Merge pull request #13272 from github/post-release-prep/codeql-cli-2.13.3
...
Post-release preparation for codeql-cli-2.13.3
2023-05-31 15:33:12 +02:00
Geoffrey White
caf250cc1b
Swift: Update the QLdoc on Callable.
2023-05-31 13:01:20 +01:00
Geoffrey White
02cae30270
Merge branch 'main' into sharedsensitive
2023-05-31 12:57:33 +01:00
Geoffrey White
daad2e1bd3
Swift: Use regexp for function name.
2023-05-31 12:55:09 +01:00
Arthur Baars
5981ce4cb1
Swift: accept test output from failed CFG consistency queries
2023-05-31 12:15:21 +02:00
Paolo Tranquilli
edb822279b
Swift: update comments to the mangler
2023-05-31 10:12:31 +02:00
Paolo Tranquilli
70ff401f21
Swift: replace internal swift mangler with our own
...
Our mangler is split in two version:
* `SwiftTrapMangler`, with the same behaviour as the previous
`SwiftMangler`, constructing mangled names with trap label references
* `SwiftRecursiveMangler` that replaces trap label references with
recursive calls to its own `mangle` functions, effectively rolling out
the entire chain of references
The latter is used to create lazy trap file names. Hashing is used to
avoid excessively long filenames.
2023-05-31 09:52:20 +02:00
Paolo Tranquilli
ab3b87a3f2
Swift: add nested generic function to test
2023-05-31 09:52:20 +02:00
Michael Nebel
2266e28583
Merge pull request #13262 from michaelnebel/flowsummary/refactorgetcomponentstack
...
C#: Re-factor getComponent.
2023-05-31 08:22:44 +02:00
Arthur Baars
490d22d123
Merge remote-tracking branch 'upstream/main' into post-release-prep/codeql-cli-2.13.3
2023-05-30 21:31:28 +02:00
Geoffrey White
560aa43953
Swift: Repair for AccountID / AccountKey.
2023-05-30 14:20:17 +01:00
Geoffrey White
d506172027
Swift: Change note.
2023-05-30 09:41:11 +01:00
Paolo Tranquilli
2183d380db
Swift: implement review suggestions
2023-05-30 10:30:44 +02:00
Geoffrey White
4a8320fafd
Merge pull request #13287 from geoffw0/stringfp
...
Swift: Fix some string length conflation false positives
2023-05-30 08:57:48 +01:00
Paolo Tranquilli
ddf45b27ca
Merge pull request #13300 from github/redsun82/swift-fix-autobuild-corner-case
...
Swift: exclude unknown type targets ending in `Tests` or `Test` from autobuilding
2023-05-26 16:49:01 +02:00
Geoffrey White
32c113bc38
Swift: Fix following merge with main.
2023-05-26 14:41:48 +01:00
Geoffrey White
68354c09bf
Merge branch 'main' into sqlpathinject
2023-05-26 14:33:05 +01:00
Paolo Tranquilli
15047368e8
Swift: add a warning to unmangled types
2023-05-26 15:12:21 +02:00
Paolo Tranquilli
3f7c4dec25
Swift: add a header comment to SwiftMangler
2023-05-26 15:05:40 +02:00
Paolo Tranquilli
d81dc274f6
Swift: make a TODO more assertive as there is a draft PR already
2023-05-26 14:45:29 +02:00
Paolo Tranquilli
05ed66ad8f
Swift: remove debugging print
2023-05-26 14:42:02 +02:00
Paolo Tranquilli
c5cee0d419
Swift: exclude targets ending in Tests or Test from autobuilding
2023-05-26 14:19:07 +02:00