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: More sinks for swift/cleartext-logging #14853

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented Nov 20, 2023

Add more sinks for the swift/cleartext-logging query:

  • model NSException (I also added a missing case for the swift/uncontrolled-format-string query while I was at it).
  • model for C printf variants.
  • heuristic model for string arguments of calls that look like logging.
  • also added taint flow through AutoClosureExprs so that models-as-data sinks on @autoclosure arguments can work.

TODO:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant