Geoffrey White
|
30468dd419
|
Swift: Implement field content as well.
|
2022-11-28 12:27:33 +00:00 |
|
Geoffrey White
|
ffbd201450
|
Swift: Implement basic model of WKUserScript.
|
2022-11-28 12:20:29 +00:00 |
|
Geoffrey White
|
3971cbf294
|
Swift: Extend the taint test with WKUserScript.
|
2022-11-28 12:11:38 +00:00 |
|
Tony Torralba
|
1d57663343
|
Merge pull request #11345 from atorralba/atorralba/swift/data-models
Swift: Add taint models for the Data class
|
2022-11-24 14:23:41 +01:00 |
|
Geoffrey White
|
32442a33de
|
Merge pull request #11270 from geoffw0/optionals2
Swift: Dataflow through ?? and ? :
|
2022-11-24 13:20:54 +00:00 |
|
Tony Torralba
|
e4e5291511
|
Fix more test expectations after rebase
|
2022-11-24 13:03:12 +01:00 |
|
Tony Torralba
|
e67b72d954
|
Update test expectations
|
2022-11-24 12:35:51 +01:00 |
|
Tony Torralba
|
25354d2dd8
|
Apply code review suggestions
|
2022-11-24 12:35:51 +01:00 |
|
Tony Torralba
|
6a8b9fde78
|
Add data flowsources test
|
2022-11-24 12:35:51 +01:00 |
|
Tony Torralba
|
d6b14a1395
|
Update test expectations
|
2022-11-24 12:35:50 +01:00 |
|
Tony Torralba
|
2284127650
|
Add MaD rows for the Data class
|
2022-11-24 12:35:50 +01:00 |
|
Tony Torralba
|
4f8ef13cd8
|
Fix expectation in NSData tests
|
2022-11-24 12:13:46 +01:00 |
|
Tony Torralba
|
2ac06b8db9
|
Turns out lambda flow is already supported
|
2022-11-24 10:52:27 +01:00 |
|
Tony Torralba
|
2e1a78e1bf
|
Add models for NSData and NSMutableData
|
2022-11-22 15:48:58 +01:00 |
|
Geoffrey White
|
2780d9a9a3
|
Merge branch 'main' into optionals2
|
2022-11-17 18:16:46 +00:00 |
|
Tom Hvitved
|
67e8ec1a5f
|
Swift: Update expected test output
|
2022-11-16 13:36:03 +01:00 |
|
Geoffrey White
|
4c806a442a
|
Swift: Dataflow through ? :.
|
2022-11-15 12:01:09 +00:00 |
|
Geoffrey White
|
2dbb891942
|
Swift: Dataflow through ??.
|
2022-11-15 11:42:43 +00:00 |
|
Geoffrey White
|
9b38e1102a
|
Swift: Add more tests of optionals.
|
2022-11-15 11:41:04 +00:00 |
|
Geoffrey White
|
af9ad7b699
|
Merge branch 'main' into tuples
|
2022-11-08 21:38:38 +00:00 |
|
Geoffrey White
|
24c8f1d8b5
|
Swift: Add some local (and remote) flow sources for String.
|
2022-11-08 13:38:25 +00:00 |
|
Geoffrey White
|
c5285acb04
|
Swift: Add more tests for String flow sources.
|
2022-11-08 13:05:40 +00:00 |
|
Geoffrey White
|
645906a7d7
|
Merge branch 'main' into tuples
|
2022-11-07 13:17:12 +00:00 |
|
Geoffrey White
|
3c07ff592a
|
Swift: Fix result expectations.
|
2022-11-04 09:44:48 +00:00 |
|
Geoffrey White
|
24f0eeb6df
|
Swift: Better assigning to tuple values.
|
2022-11-03 15:52:01 +00:00 |
|
Geoffrey White
|
6dc51edb4c
|
Swift: Assigning to tuple values.
|
2022-11-03 15:51:58 +00:00 |
|
Geoffrey White
|
472ece45e7
|
Swift: Basic content flow through tuples.
|
2022-11-03 15:51:33 +00:00 |
|
Geoffrey White
|
a7ecdef2a6
|
Swift: Add dataflow tests for tuples.
|
2022-11-03 15:50:27 +00:00 |
|
Tony Torralba
|
b62ede1544
|
Fix issue in JsExportedSource
Model the source as an access to the tainted field, instead of the field itself (which didn't work)
|
2022-10-31 12:08:03 +01:00 |
|
Tony Torralba
|
2402504a4c
|
Add missing SummaryPostUpdateNode
|
2022-10-28 18:24:17 +02:00 |
|
Tony Torralba
|
baf7986cfa
|
Rework types exported through JSContext
Better model the JSExport protocol logic
|
2022-10-28 15:56:05 +02:00 |
|
Tony Torralba
|
48b0cc0229
|
Add models for JSContext and JSValue
|
2022-10-28 13:01:25 +02:00 |
|
Tony Torralba
|
81701547b2
|
Add taint sources for WKScriptMessage
This is what contains externally-provided data in Webview JS-native bridges
|
2022-10-28 12:58:27 +02:00 |
|
Mathias Vorreiter Pedersen
|
062a0abceb
|
Swift: Fix flow out of summarized callables.
|
2022-10-28 12:09:05 +02:00 |
|
Tony Torralba
|
30f5fb6d83
|
Update expectations after merge
|
2022-10-24 14:24:13 +02:00 |
|
Tony Torralba
|
f523fbc9d0
|
Merge branch 'main' into atorralba/swift/customurlschemes
|
2022-10-24 11:41:50 +02:00 |
|
Tony Torralba
|
3973e1ce04
|
Update swift/ql/test/library-tests/dataflow/dataflow/FlowConfig.qll
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
|
2022-10-24 11:37:51 +02:00 |
|
Tony Torralba
|
80f7d58fae
|
Add missing tests for not-quite-working flow steps
|
2022-10-24 09:37:22 +02:00 |
|
Paolo Tranquilli
|
408968a417
|
Swift: fix swift compilation in QL tests
|
2022-10-21 15:20:38 +02:00 |
|
Tony Torralba
|
c2a2d6b379
|
Fix LaunchOptionsUrlVarDecl
Update test expectations
|
2022-10-19 17:42:28 +02:00 |
|
Tony Torralba
|
e2c9240973
|
Add a new Custom URL Scheme source
Also adds a couple of data flow steps to model flow through `?` expressions.
|
2022-10-19 16:55:14 +02:00 |
|
Tony Torralba
|
1d745a6365
|
Merge pull request #10774 from atorralba/atorralba/swift/url-field-summaries
Swift: Add summaries for tainted URL fields
|
2022-10-18 15:32:23 +02:00 |
|
Tony Torralba
|
0eeaf71716
|
Simplify models by introducing TaintInheritingContent
|
2022-10-18 12:36:18 +02:00 |
|
Tony Torralba
|
81d38132cf
|
Fix test expectations
|
2022-10-17 12:00:51 +02:00 |
|
Tony Torralba
|
1e4850044c
|
Increase precision of the URL(string:relativeTo:) models
|
2022-10-17 11:29:30 +02:00 |
|
Tony Torralba
|
4b2aa93a05
|
Update test expectations after rebase
|
2022-10-11 17:54:59 +02:00 |
|
Mathias Vorreiter Pedersen
|
fc810ddbf4
|
Merge pull request #10775 from atorralba/atorralba/swift/custom-url-scheme-sources
Swift: Add taint sources for custom URL scheme URLs
|
2022-10-11 16:47:52 +01:00 |
|
Tony Torralba
|
8525db5af6
|
Add summaries for tainted URL fields
|
2022-10-11 17:24:26 +02:00 |
|
Tony Torralba
|
f4d43deec4
|
Add taint sources for custom URL scheme URLs
|
2022-10-11 17:19:04 +02:00 |
|
Tony Torralba
|
0892a5795d
|
Add taint step for subscript expressions
|
2022-10-11 15:33:45 +02:00 |
|