Geoffrey White
e81c62e402
Swift: Correct comment.
2022-11-15 18:34:51 +00:00
Geoffrey White
7c1fb5d4a6
Swift: Add qldoc for AutoClosureExpr.
2022-11-15 18:31:30 +00:00
Geoffrey White
4eee375296
Swift: Add AutoClosureExpr.getExpr.
2022-11-15 18:31:30 +00:00
Geoffrey White
13d6deb9c4
Swift: Make similar enhancements to unary operations.
2022-11-15 18:31:30 +00:00
Geoffrey White
70075e2832
Swift: Add qldoc for BinaryExpr.
2022-11-15 18:31:21 +00:00
Geoffrey White
3c46b0cad1
Swift: Add BinaryExpr.getOperator().
2022-11-15 18:04:48 +00:00
Geoffrey White
fa86e75330
Update swift/ql/lib/codeql/swift/dataflow/internal/DataFlowPrivate.qll
...
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com >
2022-11-15 17:49:23 +00:00
AlexDenisov
f069802abb
Merge pull request #11277 from github/redsun82/swift-remove-ipa-from-dbscheme-cpp
...
Swift: remove IPA classes from `cppgen`
2022-11-15 18:34:59 +01:00
AlexDenisov
eb2f1ff559
Merge pull request #11274 from github/redsun82/swift-remove-double-newlines-in-schema
...
Swift: remove double newlines in schema
2022-11-15 18:34:32 +01:00
Geoffrey White
1b6317d584
Update swift/ql/lib/codeql/swift/dataflow/internal/DataFlowPrivate.qll
...
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com >
2022-11-15 17:19:32 +00:00
Paolo Tranquilli
56b207e41f
Swift: remove IPA classes from cppgen
2022-11-15 17:07:52 +01:00
Tony Torralba
89a8ccb828
Merge pull request #11273 from atorralba/atorralba/swift/string-utf8-step
...
Swift: Add `AdditionalTaintStep`
2022-11-15 16:46:26 +01:00
Tony Torralba
8ca004fde1
Add AdditionalTaintStep
2022-11-15 16:14:22 +01:00
Paolo Tranquilli
635391eae8
Swift: autopep8 integration tests
2022-11-15 15:43:05 +01:00
Paolo Tranquilli
c2171c01e1
Swift: remove double newlines in schema
...
While PEP8 mandates those, they look bad in the schema file.
`autopep8` already ignores those, and they were single newlines at some
point until an overeager IDE has "fixed" them at some point without me
realizing.
Also, the pre-commit configuration was updated to take `schema.py` into
account.
2022-11-15 15:00:30 +01:00
Geoffrey White
9887e2b53b
Merge branch 'main' into alamofire2
2022-11-15 12:19:54 +00:00
Geoffrey White
ae5689b295
Swift: Update comment.
2022-11-15 12:04:10 +00:00
Geoffrey White
4c806a442a
Swift: Dataflow through ? :.
2022-11-15 12:01:09 +00:00
Geoffrey White
52d5578fb5
Swift: Dataflow through second argument of ??.
2022-11-15 11:43:43 +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
Tony Torralba
5791e8b9a2
Slight renaming
2022-11-14 15:46:44 +01:00
Tony Torralba
07de92cdb6
Move AEXML.qll to avoid nesting
2022-11-14 15:46:44 +01:00
Tony Torralba
f2888dcb1e
Add sinks and tests for the AEXML library.
2022-11-14 15:46:44 +01:00
Geoffrey White
3e6eedec30
Swift: Fix test output after merge.
2022-11-14 14:42:56 +00:00
Geoffrey White
5460004223
Merge branch 'main' into HEAD
2022-11-14 13:44:39 +00:00
Tony Torralba
52bd140213
Fix test expectations
2022-11-14 12:41:13 +01:00
Tony Torralba
c03eab2410
Add XMLDocument sinks
2022-11-14 12:41:13 +01:00
Tony Torralba
a21db3b3c2
Merge pull request #11086 from atorralba/atorralba/swift/xxe-query
...
Swift: Add new query for XML External Entities (XML) vulnerabilities
2022-11-14 12:34:30 +01:00
Nora Dimitrijević
16ba5b1bb5
Swift: update doctests
2022-11-14 12:30:16 +01:00
Alex Denisov
d49015a7e6
Swift: infrastructure for upgrade/downgrade scripts
2022-11-11 15:51:23 +01:00
AlexDenisov
e69d003d8f
Merge pull request #11196 from github/redsun82/swift-error-element
...
Swift: create common `ErrorElement` superclass and tests
2022-11-11 15:50:58 +01:00
Alex Denisov
ce1fb4c018
Swift: accept test changes
2022-11-11 15:22:58 +01:00
Mathias Vorreiter Pedersen
38acdaabfa
Merge pull request #11111 from geoffw0/tuples
...
Swift: Content flow through tuples
2022-11-11 14:20:26 +00:00
Rasmus Wriedt Larsen
ddbcdcb4ba
Merge pull request #11160 from RasmusWL/dataflow-consistency-read-store
...
DataFlow: Add read/store stepIsLocal consistency checks
2022-11-11 14:51:45 +01:00
Paolo Tranquilli
eb14348153
Merge branch 'main' into redsun82/swift-error-element
2022-11-11 14:36:02 +01:00
Paolo Tranquilli
d3ff4908e6
Merge branch 'main' into redsun82/swift-error-element
2022-11-11 14:05:47 +01:00
Paolo Tranquilli
3816361c15
Merge branch 'main' into redsun82/swift-types
2022-11-11 13:54:12 +01:00
Paolo Tranquilli
3bb5505063
Swift: expand and fix VarDecl tests
2022-11-11 12:49:48 +01:00
Paolo Tranquilli
41977d1dbb
Swift: implement extraction of new properties
2022-11-11 12:49:48 +01:00
Paolo Tranquilli
3de650e19d
Swift: make toBeTested and shouldPrint propagate to children
2022-11-11 12:49:18 +01:00
Paolo Tranquilli
fc98fd3094
Swift: add var to the list of doc expanded abbreviations
2022-11-11 12:34:40 +01:00
Paolo Tranquilli
85233b3cbf
Swift: add new children to VarDecl
2022-11-11 12:34:40 +01:00
Nora Dimitrijević
4b7a89e754
Merge branch 'main' into swift/js-injection
2022-11-11 12:23:26 +01:00
Paolo Tranquilli
f5b198b8b7
Swift: fix dangling test reference
2022-11-10 17:50:22 +01:00
Paolo Tranquilli
88dc65cb3c
Swift: extract or ignore last remaining types
2022-11-10 17:38:32 +01:00
Paolo Tranquilli
04d042308b
Swift: fix QL compilation
2022-11-10 17:05:03 +01:00
Geoffrey White
887d1893e7
Swift: Make ql-for-ql happy.
2022-11-10 15:51:02 +00:00
Paolo Tranquilli
458fb3a4a2
Swift: fix printing of unextracted entities
...
This was still printing explicitly ignored classes.
2022-11-10 16:49:32 +01:00
Paolo Tranquilli
30bbae3c22
Merge pull request #11209 from github/redsun82/swift-drop-impossible-nodes
...
Swift: drop impossible nodes from schema
2022-11-10 16:47:23 +01:00