Robert Marsh
cb749bd973
Swift: CFG for normal autoclosure exprs
2023-10-06 20:14:49 +00:00
Robert Marsh
661da76838
Swift: add function call autoclosure tests
2023-10-06 19:49:33 +00:00
Geoffrey White
676179620a
Swift: Get sqlite3 C API results (model Data.withUnsafeBytes, Data.withUnsafeMutableBytes, permit flow out of collections at the query sink)
2023-10-06 18:26:20 +01:00
Geoffrey White
bc9d8cc40f
Swift: Get another SQLite.swift result.
2023-10-06 18:26:20 +01:00
Geoffrey White
691665fca8
Swift: Add models for SQLite.swift.
2023-10-06 18:26:19 +01:00
Geoffrey White
9a628d4165
Swift: Add test for sqlite3 C API.
2023-10-06 18:26:18 +01:00
Geoffrey White
8006996f46
Swift: Add test for SQLite.swift.
2023-10-06 18:26:18 +01:00
Geoffrey White
9ad1749957
Swift: Hide OpenExistentialExpr from the AST instead.
2023-10-06 17:55:29 +01:00
Geoffrey White
76db1c5c8b
Swift: Add the same code to the AST test as well.
2023-10-06 17:13:49 +01:00
Geoffrey White
b0c7964ea6
Swift: Add the same code to the CFG test as well.
2023-10-06 10:07:52 +01:00
Geoffrey White
b3185e9519
Swift: Expand the test case.
2023-10-06 09:43:33 +01:00
Geoffrey White
7ddece1560
Swift: Update .expected after merge.
2023-10-05 16:20:56 +01:00
Geoffrey White
6bea7f89a8
Merge branch 'main' into sqlpathinject2
2023-10-05 16:15:37 +01:00
Geoffrey White
e31ca58a2f
Swift: Post-merge fix.
2023-10-05 15:45:22 +01:00
Geoffrey White
17894db501
Merge branch 'main' into conversions2
2023-10-05 15:33:05 +01:00
Geoffrey White
dcd88100f0
Swift: Minor corrections, update parse.expected.
2023-10-05 11:11:52 +01:00
Geoffrey White
fa10dbea9f
Swift: Support mode flags through NSString.CompareOptions.
2023-10-05 10:45:59 +01:00
Geoffrey White
a052a4e385
Swift: Update to a proper data flow config so we can add implicit reads from arrays at the sink.
2023-10-05 10:45:58 +01:00
Geoffrey White
cdc0d1fff1
Swift: Check the options flag contains .regularExpression.
2023-10-05 10:45:58 +01:00
Geoffrey White
b5ff104a00
Swift: Naive model for regular expression evaluations through NSString and StringProtocol methods.
2023-10-04 19:19:29 +01:00
Geoffrey White
5263cccefc
Swift: Bite the bullet and make 'regex' a non-optional field of the regex test, so that we can be confident where we fail to identify them.
2023-10-04 19:19:28 +01:00
Geoffrey White
24c385b1da
Swift: Expand and correct regex tests.
2023-10-04 19:19:28 +01:00
Robert Marsh
00068d6157
Merge branch 'main' into rdmarsh2/swift/for-in
...
Fix conflict in AST test output
2023-10-04 15:58:36 +00:00
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
Geoffrey White
34b33e1577
Merge pull request #14328 from geoffw0/debugdesc
...
Swift: Model .description, .debugDescription more generally
2023-10-03 17:37:22 +01:00
Robert Marsh
497f0aa8ab
Swift: sync test files and update expectation
2023-10-03 14:57:04 +00:00
Geoffrey White
0f1711fe1e
Swift: Test insertMany.
2023-10-02 23:04:07 +01: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
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
Geoffrey White
2863a14cd1
Swift: Add more tests for Arrays.
2023-10-02 11:59:24 +01:00
Geoffrey White
df1bc1a597
Swift: Add more tests for Numerics.
2023-10-02 11:59:24 +01:00
Geoffrey White
bb1720d50a
Swift: Fix test after merge.
2023-09-27 19:31:04 +01:00
Geoffrey White
936f846b09
Merge branch 'main' into implicitflow
2023-09-27 19:27:07 +01:00
Geoffrey White
b6f0160760
Swift: Effect on recently added tests.
2023-09-27 16:52:31 +01:00
Geoffrey White
6a2911ae01
Swift: Make the tests more accurate.
2023-09-27 16:39:55 +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
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
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
839b9635b9
Swift: Effect of fixing string interpolation bug.
2023-09-25 20:30:58 +01:00
Geoffrey White
16ae637238
Swift: Add sqlite3 models.
2023-09-25 20:30:48 +01:00
Geoffrey White
4245a38de9
Swift: Add SQLite.swift and sqlite3 C API test cases for swift/cleartext-storage-database.
2023-09-25 20:30:48 +01:00
Geoffrey White
ab6e8b9ecd
Merge pull request #14252 from geoffw0/protocol3
...
Swift: Improve getABaseType implementions
2023-09-22 18:13:12 +01:00