Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift: Replace two additional taint steps with implicit reads #14357

Merged
merged 3 commits into from
Oct 3, 2023

Conversation

geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented Oct 2, 2023

Replace additional taint steps in swift/command-line-injection and swift/cleartext-storage-database with implicit reads instead. Implicit reads are a more principled / accurate way of doing data flow out from array elements at the sink (now that we model array content and it can work).

Note that in the test changes, the #select parts are unaffected.

Copy link
Contributor

@MathiasVP MathiasVP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes LGTM! We should probably run DCA before we merge this, though

@geoffw0
Copy link
Contributor Author

geoffw0 commented Oct 3, 2023

DCA LGTM. Merging.

@geoffw0 geoffw0 merged commit c518f39 into github:main Oct 3, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note Swift
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants