Robert Marsh
f7ca8e5b39
Merge pull request #14224 from rdmarsh2/rdmarsh2/swift/nil-coalescing-cfg
...
Swift: CFG and data flow for nil coalescing operator
2023-10-04 09:43:31 -04:00
Henry Mercer
99646ba2a3
Merge pull request #14367 from github/henrymercer/rc-3.11-mergeback
...
Merge `rc/3.11` into `main`
2023-10-04 10:05:38 +01:00
Robert Marsh
06da5fd05c
Swift: move import to make codegen happy
2023-10-03 17:23:00 +00:00
Geoffrey White
34b33e1577
Merge pull request #14328 from geoffw0/debugdesc
...
Swift: Model .description, .debugDescription more generally
2023-10-03 17:37:22 +01:00
Henry Mercer
da92da2204
Bump minor versions of packs we regularly release
2023-10-03 16:31:23 +01:00
Henry Mercer
f3847b3f51
Merge branch 'main' into henrymercer/rc-3.11-mergeback
2023-10-03 16:30:23 +01:00
Robert Marsh
cdef0796e3
Swift: QLDoc for NilCoalescingExpr.qll
2023-10-03 15:00:03 +00:00
Geoffrey White
bbd3c66d5a
Swift: Update for CollectionContent.
2023-10-02 20:32:24 +01:00
Geoffrey White
81b358a711
Swift: Replace a similar additional taint step in another query.
2023-10-02 20:19:40 +01:00
Geoffrey White
27bdee8058
Swift: Replace additional taint step with implict read.
...
Now that we have array content, this is a more principled approach than having a special case data step.
2023-10-02 20:19:30 +01:00
Robert Marsh
ca722dc74c
Swift: add NilCoalescingTest node to CFG
...
Fixes an issue where a nil-coalescing operation used in a boolean
context would result in no control flow out of the default operand of
the nil-coalescing operator.
2023-10-02 18:07:11 +00:00
Geoffrey White
db5e0ff7a8
Swift: Autoformat.
2023-10-02 16:06:38 +01:00
Geoffrey White
3d552d7d5d
Swift: Simplify FloatPoint model now that it works to do so.
2023-10-02 11:59:26 +01:00
Geoffrey White
3265d49a98
Swift: Remove duplicate row.
2023-10-02 11:59:26 +01:00
Geoffrey White
f83456a398
Swift: Change note.
2023-10-02 11:59:25 +01:00
Geoffrey White
c61edc13e7
Swift: Model RangeReplaceableCollection initializers.
2023-10-02 11:59:25 +01:00
Geoffrey White
0c534b69eb
Swift: Extend Numeric models.
2023-10-02 11:59:25 +01:00
Asger F
0d96ed8aee
Merge pull request #14305 from asgerf/shared/flow-state-inout-barriers
...
Shared: add in/out barriers with flow state
2023-09-28 11:07:23 +02:00
Geoffrey White
936f846b09
Merge branch 'main' into implicitflow
2023-09-27 19:27:07 +01:00
Geoffrey White
98b2ef0a2f
Swift: Autoformat.
2023-09-27 19:09:23 +01:00
Geoffrey White
e6dc4d324f
Swift: Change note.
2023-09-27 16:58:59 +01:00
Geoffrey White
086002f7cb
Swift: Add a general model for description, debugDescription.
2023-09-27 16:39:54 +01:00
Geoffrey White
f12e45b243
Swift: Delete the specific description, debugDescription models.
2023-09-27 16:39:54 +01:00
Robert Marsh
293400a623
Swift: change note for for-in dataflow
2023-09-26 15:13:05 +00:00
Robert Marsh
ae1072e09f
Merge branch 'main' into rdmarsh2/swift/for-in
2023-09-26 15:12:46 +00:00
Geoffrey White
49d47a3da4
Merge pull request #14209 from geoffw0/regexport
...
Swift: Port regex mode flag fix from Python to Swift
2023-09-26 15:41:10 +01:00
Geoffrey White
eb78d401da
Swift: Add to change note.
2023-09-26 14:56:32 +01:00
Geoffrey White
6b0271d4e5
Swift: Address review comment.
2023-09-26 13:40:46 +01:00
Geoffrey White
7a450c9941
Swift: Change note for mode flags.
2023-09-26 13:40:46 +01:00
Geoffrey White
33a5ba04cb
Swift: Add explanatory comments and (minimal) support for additional regex mode flags.
2023-09-26 13:40:46 +01:00
Robert Marsh
92fdb7a35f
Swift: finish upgrade script for for-in PR
2023-09-25 20:13:52 +00:00
Geoffrey White
51ed824adf
Swift: Add more SQLite.swift models.
2023-09-25 20:30:59 +01:00
Geoffrey White
6be01eac04
Swift: Add implict read steps for dictionary content.
2023-09-25 20:30:59 +01:00
Geoffrey White
4350060b0f
Swift: Add SQLite.swift models.
2023-09-25 20:30:59 +01:00
Geoffrey White
16ae637238
Swift: Add sqlite3 models.
2023-09-25 20:30:48 +01:00
Anders Schack-Mulligen
06cb277eb0
Merge pull request #14299 from aschackmull/dataflow/more-defaults
...
Dataflow: Make use of defaults for language-specific hooks.
2023-09-25 11:19:44 +02:00
Asger F
d501856519
Update DataFlowImpl.qll copies
2023-09-25 10:05:29 +02:00
Robert Marsh
325d6f738c
Swift: add expr types to for-in upgrade script
2023-09-22 18:14:37 +00:00
Robert Marsh
5b77e7db8a
Swift: for-in upgrade script passing CFG test
2023-09-22 17:44:45 +00:00
Geoffrey White
ab6e8b9ecd
Merge pull request #14252 from geoffw0/protocol3
...
Swift: Improve getABaseType implementions
2023-09-22 18:13:12 +01:00
Geoffrey White
2c9433c621
Merge pull request #13946 from geoffw0/arraysteptest
...
Swift: Models and tests for numeric conversions
2023-09-22 16:26:38 +01:00
Anders Schack-Mulligen
66da997b7b
Dataflow: Make use of defaults for language-specific hooks.
2023-09-22 14:54:22 +02:00
Geoffrey White
ab54f0cc6c
Merge pull request #14286 from geoffw0/interp
...
Swift: Fix bug in taint flow through string interpolation
2023-09-22 08:52:56 +01:00
Geoffrey White
f2689dd515
Swift: Fix for string interpolation taint flow.
2023-09-21 19:02:16 +01:00
Geoffrey White
05309810b8
Merge pull request #14266 from geoffw0/quickfix
...
Swift: Improve taint models for NSString
2023-09-21 13:09:01 +01:00
Anders Schack-Mulligen
13f7daf71e
Merge pull request #13982 from aschackmull/dataflow/typeflow-calledge-pruning
...
Dataflow: Add type-based call-edge pruning.
2023-09-21 13:33:08 +02:00
Geoffrey White
fef5a49fcb
Swift: Remove now duplicate extension logic.
2023-09-20 15:36:15 +01:00
github-actions[bot]
3acf5244b0
Post-release preparation for codeql-cli-2.14.6
2023-09-20 10:25:10 +00:00
Geoffrey White
af315c5072
Swift: Change note.
2023-09-19 23:02:14 +01:00
Geoffrey White
1b74b49bb3
Swift: Improve NSString models for varargs functions.
2023-09-19 23:02:14 +01:00