Tom Hvitved
a8bb37c3c2
Swift: Update expected test output
2025-02-20 10:19:45 +01:00
Michael Nebel
aaf0cd5dee
Merge pull request #17968 from michaelnebel/java/movetestutils
...
Move test utilities to the query pack.
2024-12-16 13:41:30 +01:00
Michael Nebel
9ecacddf79
Swift: Update all test util paths to point to the new location.
2024-12-12 13:54:40 +01:00
Paolo Tranquilli
a4f7981d93
Swift: accept test changes
2024-12-06 14:44:01 +01:00
Paolo Tranquilli
f81f30cc4d
Swift: accept test changes
2024-12-06 12:47:54 +01:00
Paolo Tranquilli
4ac602ccd7
Merge branch 'main' into redsun82/swift-6
2024-12-06 12:31:40 +01:00
Paolo Tranquilli
9da7e8a04f
Merge pull request #18142 from github/redsun82/swift-6-for-each-vars
...
Swift: extract variables as children of `ForEachStmt`
2024-12-04 11:08:35 +01:00
Jeroen Ketema
67052bf9e5
Swift: Update expected test results
2024-12-03 19:18:48 +01:00
Geoffrey White
1fc112e7a7
Swift: Fix for OptionSet.
2024-11-28 18:48:23 +00:00
Geoffrey White
e08eac03d8
Swift: Fix for Int.description.
2024-11-28 18:18:23 +00:00
Geoffrey White
1d43abfe4d
Swift: Model Collection.makeIterator().
2024-11-28 10:11:55 +00:00
Paolo Tranquilli
814218c7a8
Swift: extract variables as children of ForEachStmt
2024-11-28 11:03:46 +01:00
Geoffrey White
d1915c707d
Swift: Add a test revealing the issue in pure dataflow.
2024-11-26 11:24:42 +00:00
Geoffrey White
6130679c34
Swift: Label the now missing cases for CWE-020 and dataflow.
2024-11-26 11:13:19 +00:00
Geoffrey White
6aa43e001d
Swift: Effect on other tests.
2024-11-14 17:29:17 +00:00
Geoffrey White
c2c23c872b
Swift: Address some modelling issues for Swift 6.
2024-11-14 17:22:15 +00:00
Geoffrey White
570393fe2b
Swift: Additional test cases.
2024-11-14 17:17:00 +00:00
Geoffrey White
f0dc4f5ec3
Swift: Convert the dataflow-taint-core-conversions test to labelled sources.
2024-11-14 16:34:16 +00:00
Geoffrey White
954fbc44bf
Swift: Update prefix / suffix models for Swift 6.
2024-11-01 16:19:39 +00:00
Geoffrey White
be12649838
Swift: Update joined models for Swift 6.
2024-11-01 16:19:36 +00:00
Geoffrey White
6f0f73974a
Swift: Update dropFirst / dropLast / reversed models for Swift 6.
2024-11-01 16:19:34 +00:00
Paolo Tranquilli
1f356078ff
Swift: temporarily accept test changes
2024-10-31 15:57:31 +01:00
Tom Hvitved
f287216060
Update expected test output
2024-09-24 14:21:38 +02:00
Tom Hvitved
16813240ae
Shared: Do not use @kind graph for CFG test output
2024-09-19 18:13:31 +02:00
Paolo Tranquilli
d74dd2161a
Swift: tentative fix to Cfg disambuigation
2024-09-16 09:14:09 +02:00
Asger F
8df7fbf6d6
Swift: update test output
...
The 'first' field is seen as a TaintInheritingContent, which means any read step for 'first' becomes a taint step too.
This type of taint step does not permit an implicit read before it, because it wasn't contributed by a configuration.
So there is no way for the taint to get out of the collection content before the taint step through '.first'.
The test previously passed because an implicit read at once of the earlier sinks could follow use-use flow down to the receiver of .first,
allowing it to escape the collection content.
2024-08-23 11:30:50 +02:00
Asger F
9703f67794
Test output updates that only affect nodes/edges
2024-08-23 11:03:26 +02:00
Geoffrey White
0525e9c6ee
Merge pull request #17128 from geoffw0/swiftcmdline
...
Swift: Disable some FileManager models
2024-08-02 13:59:59 +01:00
Geoffrey White
39411b0780
Swift: Add some test of taint through 'as'.
2024-08-01 17:33:35 +01:00
Geoffrey White
3f26250967
Swift: Remove the sources instead (more general solution).
2024-08-01 16:14:30 +01:00
Geoffrey White
ecefa3e383
Swift: Fix a corrupted model.
2024-07-24 18:16:24 +01:00
Geoffrey White
2f33b9422b
Merge branch 'main' into salvage
2024-06-10 18:31:46 +01:00
Geoffrey White
83860acdde
Swift: Test BuiltinLiteralExpr.
2024-06-10 18:20:25 +01:00
Geoffrey White
f2b1e09650
Swift: Add some conversion test cases.
2024-06-10 17:25:25 +01:00
Rasmus Wriedt Larsen
2451a6d3f6
Accept .expected changes
2024-05-21 14:47:42 +02:00
Owen Mansel-Chan
aab43afd81
Swift: accept test changes
2024-05-07 15:36:48 +01:00
Geoffrey White
fc7fef3dd8
Swift: Add dataflow tests for dictionaries.
2024-04-15 18:50:41 +01:00
Paolo Tranquilli
e9957aa4a6
Swift: make result a child in ThenStmt
2024-03-27 17:53:36 +01:00
Paolo Tranquilli
0243d9f2b9
Swift: accept explicit any in existential type name
2024-03-27 13:49:15 +01:00
Paolo Tranquilli
d9c40488bb
Swift: add ThenStmt to control flow
2024-03-27 13:37:24 +01:00
Tom Hvitved
5b6e76c030
Move View CFG implementation from Ruby/Swift into shared library
2024-02-26 11:23:49 +01:00
Anders Schack-Mulligen
228a61ead3
Swift: Add empty provenance column to expected files.
2024-02-09 11:32:07 +01:00
Mathias Vorreiter Pedersen
1fba345fb3
Merge pull request #15219 from rdmarsh2/rdmarsh2/swift/parameterized-cfg-library
...
Swift: switch to shared, parameterized CFG library
2024-01-16 21:54:05 +00:00
Alex Denisov
0e73531aa9
Swift: upgrade to 5.9.2
2024-01-09 09:23:32 +01:00
Robert Marsh
51acd1169c
Swift: accept test output
2024-01-08 14:29:51 +00:00
Geoffrey White
4016033f88
Swift: Add dataflow test cases for property wrappers.
2024-01-04 15:39:20 +00:00
Geoffrey White
31af8b9024
Swift: Test SwiftUI flow sources.
2024-01-04 09:28:10 +00:00
Geoffrey White
1908575386
Swift: Add more test cases for launchOptions as a source.
2023-12-15 18:11:28 +00:00
Robert Marsh
3738e19db6
Swift: fix compilation failures outside CFG code
2023-12-14 16:39:51 +00:00
Geoffrey White
36d0148aa1
Swift: Comment out lines that don't extract correctly right now.
2023-12-14 13:27:05 +00:00