Skip to content

Swift: Update swift/string-length-conflation to taint tracking#12307

Merged
geoffw0 merged 1 commit into
github:mainfrom
geoffw0:stringconflationtaint
Mar 3, 2023
Merged

Swift: Update swift/string-length-conflation to taint tracking#12307
geoffw0 merged 1 commit into
github:mainfrom
geoffw0:stringconflationtaint

Conversation

@geoffw0
Copy link
Copy Markdown
Contributor

@geoffw0 geoffw0 commented Feb 24, 2023

Update swift/string-length-conflation to taint tracking, so that it benefits from flow through arithmetic operations without special cases (now that taint does indeed support these cases). This may introduce new (hopefully good) results, though it doesn't in the MRVA top 100 so I think this will be rare.

…move a special case that's now covered by taint.
@geoffw0 geoffw0 added no-change-note-required This PR does not need a change note Swift labels Feb 24, 2023
@geoffw0 geoffw0 requested a review from a team as a code owner February 24, 2023 18:46
Copy link
Copy Markdown
Contributor

@jketema jketema left a comment

Choose a reason for hiding this comment

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

Should we run DCA on this? Otherwise LGTM.

@geoffw0
Copy link
Copy Markdown
Contributor Author

geoffw0 commented Mar 2, 2023

Should we run DCA on this? Otherwise LGTM.

Yep, that's probably a good idea...

@geoffw0
Copy link
Copy Markdown
Contributor Author

geoffw0 commented Mar 3, 2023

DCA completed and LGTM. Merging...

@geoffw0 geoffw0 merged commit 9aaf306 into github:main Mar 3, 2023
@geoffw0 geoffw0 deleted the stringconflationtaint branch March 31, 2023 08:52
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