Robert Marsh
8af727734e
Merge pull request #13909 from rdmarsh2/rdmarsh2/swift/for-in
...
Swift: dataflow for `for-in` loops
2023-10-09 10:00:27 -04:00
Geoffrey White
62b0ebf2fe
Merge pull request #14407 from geoffw0/grdbsinks
...
Swift: Add sinks for the GRDB database library to swift/hardcoded-key
2023-10-09 12:58:17 +01:00
Geoffrey White
c492b5f2dd
Swift: Model sinks.
2023-10-07 23:19:09 +01:00
Geoffrey White
8bf6fd67d1
Swift: Add a test for GRDB hardcoded key sinks.
2023-10-07 23:07:32 +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
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
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
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
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
c7be9b42b3
Swift: Test demonstrating an issue with taint through string interpolation.
2023-09-21 19:02:06 +01:00
Geoffrey White
1b74b49bb3
Swift: Improve NSString models for varargs functions.
2023-09-19 23:02:14 +01:00
Geoffrey White
f8c5a9a264
Swift: Test localizedStringWithFormat a bit better.
2023-09-19 18:43:54 +01:00
Geoffrey White
32a2930c2f
Swift: Accept bad tag filter test fixes.
2023-09-19 14:47:56 +01:00
Geoffrey White
2983295ba3
Swift: Add numeric barrier for uncontrolled format string query.
2023-09-19 14:33:23 +01:00
Geoffrey White
903b0f5bab
Swift: Add numeric barrier for the SQL Injinjection query.
2023-09-19 14:33:23 +01:00
Geoffrey White
ee9a5c751c
Swift: Add numeric barrier for to the JS eval query.
2023-09-19 14:33:22 +01:00
Geoffrey White
158008ac4f
Swift: New results in tests.
2023-09-19 13:08:08 +01:00
Geoffrey White
2d05b85bb4
Swift: Fix uses of legacy CArrayElement.
2023-09-19 11:20:05 +01:00
Geoffrey White
311daa2539
Swift: Accept fixed test case having merged in main.
2023-09-19 10:39:59 +01:00
Geoffrey White
037f246cda
Merge branch 'main' into arraysteptest
2023-09-19 10:33:32 +01:00
Geoffrey White
37edcad1b0
Swift: Go through protocols added in extensions also.
2023-09-18 20:03:08 +01:00
Geoffrey White
f604b28ab5
Swift: Resolve type aliases (1) in base class declarations, not before them and (2) consistently. This is not behaviour preserving.
2023-09-18 20:01:46 +01:00
Geoffrey White
4f39cb65c2
ed test
2023-09-18 19:59:59 +01:00
Geoffrey White
ef8a997c99
Swift: Extend the test.
2023-09-18 19:37:20 +01:00
Paolo Tranquilli
dc299fc9fa
Merge pull request #14208 from github/redsun82/swift-unordered-base-types
...
Swift: rename `base_types` in `TypeDecl` to `inherited_types`
2023-09-18 14:21:20 +02:00
Geoffrey White
d15420c42c
Swift: Consequences of change in main on the test internals.
2023-09-18 10:07:23 +01:00
Geoffrey White
c3ea0cea91
Merge branch 'main' into logfix
2023-09-18 10:00:16 +01:00
Robert Marsh
ab7cd5254a
Swift: update dataflow test for nil coalescing
2023-09-14 16:28:00 +00:00