mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
apply review suggestions
This commit is contained in:
committed by
Tony Torralba
parent
91db1be399
commit
25cb3236a2
@@ -2,4 +2,4 @@
|
||||
category: minorAnalysis
|
||||
---
|
||||
* Added data flow steps for tainted Android intents that are sent to services and receivers.
|
||||
* Updated data flow step for tainted Android intents that are sent to activities.
|
||||
* Improved the data flow step for tainted Android intents that are sent to activities so that more cases are covered.
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: deprecated
|
||||
---
|
||||
* Deprecated `ContextStartActivityMethod`. Use `StartActivityMethod` instead.
|
||||
@@ -221,7 +221,7 @@ class GrantWriteUriPermissionFlag extends GrantUriPermissionFlag {
|
||||
GrantWriteUriPermissionFlag() { this.hasName("FLAG_GRANT_WRITE_URI_PERMISSION") }
|
||||
}
|
||||
|
||||
/** The instantiation of an `android.content.Intent` instance. */
|
||||
/** An instantiation of `android.content.Intent`. */
|
||||
private class NewIntent extends ClassInstanceExpr {
|
||||
NewIntent() { this.getConstructedType() instanceof TypeIntent }
|
||||
|
||||
@@ -232,7 +232,7 @@ private class NewIntent extends ClassInstanceExpr {
|
||||
}
|
||||
}
|
||||
|
||||
/** A call to a method that starts an Android component */
|
||||
/** A call to a method that starts an Android component. */
|
||||
private class StartComponentMethodAccess extends MethodAccess {
|
||||
StartComponentMethodAccess() {
|
||||
this.getMethod().overrides*(any(StartActivityMethod m)) or
|
||||
|
||||
Reference in New Issue
Block a user