Mathias Vorreiter Pedersen
7323d4ecc1
Merge pull request #13058 from geoffw0/barrier
...
Swift: Standardize terminology for ConfigSig queries
2023-05-05 11:59:44 +01:00
Paolo Tranquilli
0a20885b35
Merge pull request #13056 from github/redsun82/swift-mark-generated-files
...
Codegen: mark generated checked in files as such
2023-05-05 12:40:44 +02:00
Geoffrey White
7c85115ff3
Swift: Remove some redundant statements in a few of the QLDoc comments.
2023-05-05 10:45:19 +01:00
Geoffrey White
4cc3a6dcf5
Swift: Fix missing QLDoc.
2023-05-05 10:43:14 +01:00
Geoffrey White
c5178de3f4
Swift: Standardize on 'AdditionalFlowStep' as well.
2023-05-05 10:21:57 +01:00
Geoffrey White
d92ecbb3cf
Swift: Standardize on 'barrier' tover 'santerminology now we use ConfigSig dataflow.
2023-05-05 10:03:18 +01:00
Paolo Tranquilli
287b23c05e
Codegen: actually commit changed .gitattributes file
2023-05-05 10:10:52 +02:00
Paolo Tranquilli
95248d17d1
Codegen: prepend .gitattributes entries with /
2023-05-05 10:08:44 +02:00
Paolo Tranquilli
436f2437ef
Codegen: also mark generated .gitattributes as linguist-generated
2023-05-05 09:59:44 +02:00
Paolo Tranquilli
d0047ae99f
Swift: also mark swift.dbscheme as linguist-generated
2023-05-05 09:43:31 +02:00
Paolo Tranquilli
1155b97232
Codegen: mark generated checked in files as such
2023-05-05 09:29:16 +02:00
Mathias Vorreiter Pedersen
77001a070b
Merge branch 'main' into identity-consistency-check
2023-05-03 22:01:06 +01:00
Mathias Vorreiter Pedersen
f8ef697978
Merge pull request #13013 from MathiasVP/fix-todos-in-flow-summary
...
Swift: Fix TODOs in `FlowSummary.qll`
2023-05-03 17:05:28 +01:00
Mathias Vorreiter Pedersen
8ef961b776
Merge pull request #13017 from MathiasVP/fix-todos-in-flow-summary-2
...
Swift: Fix TODO by reorganizing model imports
2023-05-03 16:48:58 +01:00
Mathias Vorreiter Pedersen
59e495aa31
Swift: Reorganize MaD rows and frameworks to ensure we always import all frameworks in 'ExternalFlow.qll' and 'FlowSummary.qll'.
2023-05-03 14:34:43 +01:00
Mathias Vorreiter Pedersen
1c80175a34
Merge pull request #13009 from MathiasVP/fix-tostring-on-regex-literals
...
Swift: Fix TODO on regex literals's `toString`
2023-05-03 14:17:50 +01:00
Mathias Vorreiter Pedersen
af18c98028
Swift: Fix TODOs in 'FlowSummary.qll'
2023-05-03 13:48:17 +01:00
Mathias Vorreiter Pedersen
9e129ac38d
Swift: Fix toString on regex literals.
2023-05-03 12:09:12 +01:00
Geoffrey White
9590dde1e6
Merge branch 'main' into swiftoddsends
2023-05-03 11:13:38 +01:00
Anders Schack-Mulligen
ca09649679
Dataflow: Forward hasLocationInfo.
2023-05-02 10:48:32 +02:00
Anders Schack-Mulligen
5927bb2030
Dataflow: Replace "extends Node" with "instanceof Node".
2023-05-02 09:48:34 +02:00
Nora Dimitrijević
383b2e183d
Merge pull request #12936 from d10c/swift/rename-functions
...
Swift: rename ugly names in the Function AST hierarchy
2023-05-01 17:08:19 +02:00
Nora Dimitrijević
c81ea9d747
Merge branch 'main' into swift/rename-functions
2023-05-01 11:03:26 +02:00
Mathias Vorreiter Pedersen
e506f638fc
DataFlow: Sync identical files.
2023-04-27 18:40:33 +01:00
Geoffrey White
abb98be996
Swift: QLDoc Type.qll, TypeDecl.qll, and deprecate one of the predicates.
2023-04-27 15:12:54 +01:00
Geoffrey White
fc65160a78
Swift: Simplify the implemention of MethodDecl.hasQualifiedName.
2023-04-27 14:59:19 +01:00
Anders Schack-Mulligen
71ae0909d8
Dataflow: Enforce type pruning in all forward stages.
2023-04-27 14:55:26 +02:00
Anders Schack-Mulligen
9140cbefc0
Dataflow: Sync.
2023-04-27 14:55:23 +02:00
Anders Schack-Mulligen
246d904712
Merge pull request #12948 from aschackmull/dataflow/pathnode-type-tostring
...
Dataflow: Add type to PathNode.toString.
2023-04-27 14:14:10 +02:00
Geoffrey White
5a77dfb5d5
Merge pull request #12905 from geoffw0/webviewdoc
...
Swift: Doc review for swift/unsafe-webview-fetch
2023-04-27 11:23:53 +01:00
Geoffrey White
507bb61c3c
Swift: Add missing '.'
2023-04-27 11:00:35 +01:00
Geoffrey White
c823c58e00
Swift: WebView -> web view.
2023-04-27 10:57:25 +01:00
Geoffrey White
cc8d7bff0b
Update swift/ql/src/queries/Security/CWE-079/UnsafeWebViewFetch.qhelp
...
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com >
2023-04-27 10:12:13 +01:00
Nora Dimitrijević
6f804ff1e7
Swift: upgrade/downgrade scripts
2023-04-26 17:03:20 +02:00
Mathias Vorreiter Pedersen
d114388470
Swift: Implement 'isAbnormalExitType' and accept test changes.
2023-04-26 15:36:52 +01:00
Nora Dimitrijević
16fc42a53f
Swift: fix formatting
2023-04-26 16:01:57 +02:00
Nora Dimitrijević
91a151ec2a
Swift: update tests
2023-04-26 15:47:20 +02:00
Nora Dimitrijević
3d67970357
Swift: query library renamings
2023-04-26 15:47:20 +02:00
Nora Dimitrijević
4c0384b4f1
Swift: control flow and dataflow library renamings
2023-04-26 15:47:20 +02:00
Nora Dimitrijević
82eb0026e6
Swift: AST library renamings
2023-04-26 15:47:20 +02:00
Nora Dimitrijević
2d9295a5a4
Swift: [generated] library code changes
2023-04-26 15:47:20 +02:00
Anders Schack-Mulligen
d681671356
Dataflow: Sync.
2023-04-26 14:45:07 +02:00
Anders Schack-Mulligen
74242638e2
Swift: One more expected output fix.
2023-04-26 14:10:13 +02:00
Anders Schack-Mulligen
9fe5462b1b
Swift: Update more expected output.
2023-04-26 13:41:50 +02:00
Anders Schack-Mulligen
6b049cb37a
Swift: Update expected output.
2023-04-26 13:15:39 +02:00
Anders Schack-Mulligen
3d01763092
Swift: Remove empty string DataFlowType in PathNode.
2023-04-26 13:10:01 +02:00
Paolo Tranquilli
9d80a43d6a
Merge pull request #12500 from github/redsun82/swift-dispatcher-rework
...
Swift: rework fetching and dispatching
2023-04-26 09:58:19 +02:00
Geoffrey White
84ddfe9c3f
Merge pull request #12919 from geoffw0/precision2
...
Swift: Upgrade two queries to precision high.
2023-04-25 14:04:52 +01:00
Alex Denisov
125aab8107
Swift: rework fetching and dispatching
...
* visiting now happens in a later stage than fetching labels. While
fetching a list of entities to be visited is created, and then acted
upon in actual extraction. This partially flattens the recursive
nature of `fetchLabel` into a loop inside `SwiftVisitor::extract`.
Recursion in `fetchLabel` will only happen on labels fetched while
naming an entity (calling into `SwiftMangler`).
* The choice whether to name a declaration or type has been moved from
the translators to `SwiftMangler`. Acting on this choice is contained
in `SwiftDispatcher::createLabel`.
* The choice whether to emit a body of a declaration has been moved from
`DeclTranslator` to the dispatcher. This choice is also contained in
`SwiftDispatcher::createLabel`.
* The simple functionality of the `LabelStore` has been moved to the
`SwiftDispatcher` as well.
2023-04-25 11:15:27 +02:00
Geoffrey White
0ebb06e185
Merge branch 'main' into flowsources
2023-04-25 10:08:15 +01:00