-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Java: Add flow step from startActivity to getIntent #8873
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
Java: Add flow step from startActivity to getIntent #8873
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me. If the join-order in StartActivityIntentStep::step produces something reasonable, then I'd say this looks good to merge.
1054feb to
cf55f18
Compare
|
There isn't any bad join order metric being triggered in DCA. By looking at some query logs manually (I had to change Nothing unreasonable as far as I can see. The cartesian product with |
The left-hand side of that cartesian product is a size 1 constant, so that's completely harmless. |
In exported activities,
getIntent()is considered a remote source. Nonetheless, sometimes user input is added to intents (e.g. as extras) that are sent to non-exported activities, tainting thegetIntent()calls of those as well.This PR adds a value-preserving step to support that case.