Jeroen Ketema
67052bf9e5
Swift: Update expected test results
2024-12-03 19:18:48 +01:00
Tom Hvitved
f287216060
Update expected test output
2024-09-24 14:21:38 +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
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
Anders Schack-Mulligen
228a61ead3
Swift: Add empty provenance column to expected files.
2024-02-09 11:32:07 +01:00
Alex Denisov
0e73531aa9
Swift: upgrade to 5.9.2
2024-01-09 09:23:32 +01: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
Geoffrey White
36d0148aa1
Swift: Comment out lines that don't extract correctly right now.
2023-12-14 13:27:05 +00:00
Geoffrey White
023d72b6fb
Merge remote-tracking branch 'upstream/main' into pointermodels
2023-12-13 14:07:17 +00:00
Mathias Vorreiter Pedersen
d8f53e5524
Merge pull request #14925 from geoffw0/flows
...
Swift: Imprecise Taint Flows
2023-12-11 10:06:01 +00:00
Geoffrey White
c2123f2c9b
Swift: More detailed models for pointers.
2023-12-08 16:51:53 +00:00
Geoffrey White
ba6d3484f5
Swift: Add more tests of pointer methods.
2023-12-07 18:09:34 +00:00
Geoffrey White
8818b3d22d
Swift: Model withMemoryRebound, assumingMemoryRebound, bindMemory.
2023-12-07 16:03:01 +00:00
Geoffrey White
db3dfdc9a0
Swift: Model Manual Memory Management closure functions.
2023-12-07 15:55:00 +00:00
Geoffrey White
1de9919193
Swift: Test Manual Memory Management closure functions.
2023-12-07 15:10:41 +00:00
Geoffrey White
366a9f1b7e
Swift: Convert unsafepointer.swift test to use labelled sources.
2023-12-06 18:57:30 +00:00
Mathias Vorreiter Pedersen
175a8a6fb5
Merge pull request #14865 from rdmarsh2/rdmarsh2/swift/correct-keypath-node-steps
...
Swift: move keypath dataflow writes to fix types
2023-11-30 15:09:55 +00:00
Geoffrey White
f19c6f337d
Swift: Add imprecise append/insert models.
2023-11-27 19:43:15 +00:00
Geoffrey White
6e5c285346
Swift: Add imprecise init(data:) model.
2023-11-27 19:23:40 +00:00
Geoffrey White
99aa754b50
Swift: Add tests for UIImage.
2023-11-27 19:19:12 +00:00
Geoffrey White
da648b1014
Swift: Convert ui.swift test to use source labels.
2023-11-27 19:06:52 +00:00
Geoffrey White
4b87dd54fb
Swift: Add tests for custom append/insert.
2023-11-27 19:02:45 +00:00
Geoffrey White
dfdc502525
Merge pull request #14908 from geoffw0/setmodels
...
Swift: Flow models for Set
2023-11-24 19:16:16 +00:00
Geoffrey White
4c2a6231e9
Swift: Add tests for array append/insert.
2023-11-24 18:33:25 +00:00
Geoffrey White
2e93c1d7b6
Merge pull request #14879 from geoffw0/contentsof
...
Swift: "contentsOf" sources
2023-11-24 17:47:57 +00:00
Geoffrey White
2b481bbb48
Swift: Model Sequence.enumerated() as well.
2023-11-24 15:41:49 +00:00
Geoffrey White
14031bf351
Swift: Model Sequence.forEach as well.
2023-11-24 14:58:13 +00:00
Geoffrey White
60b27a4e69
Swift: Expand and improve models of Set and Sequence.
2023-11-24 14:43:19 +00:00
Geoffrey White
04c90a684c
Swift: Add taint tests for 'Set'.
2023-11-24 13:38:31 +00:00
Geoffrey White
5723a75f3c
Swift: Add heuristic model for init(contentsOfFile) and similar.
2023-11-22 15:24:19 +00:00
Geoffrey White
94cb09e539
Swift: Add test cases.
2023-11-22 11:39:27 +00:00
Robert Marsh
396b9e38c5
Swift: move keypath dataflow writes to fix types
2023-11-21 17:06:21 +00:00
Geoffrey White
0342b3eba2
Merge pull request #14772 from geoffw0/webview
...
Swift: Use TaintInheritingContent in WebView.qll
2023-11-14 16:29:32 +00:00
Geoffrey White
5a451e964d
Swift: Model mainDocumentURL.
2023-11-13 19:51:51 +00:00
Geoffrey White
b157d73c10
Swift: Make the URLRequest test more accurate.
2023-11-13 19:36:03 +00:00
Geoffrey White
463096e4be
Swift: Modernize tainted content in WebView.qll.
2023-11-13 18:30:40 +00:00
Geoffrey White
892beeab6d
Swift: Add test case.
2023-11-13 18:25:59 +00:00
Geoffrey White
098ea50068
Swift: Repair non-inline dataflow test.
2023-11-13 12:09:08 +00:00
Geoffrey White
6e291711ac
Swift: Update just enough tests to prove that that source labels are working.
2023-11-13 11:47:24 +00:00