mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Remove unnecessary import
Add comment
This commit is contained in:
@@ -70,8 +70,10 @@ private class TaintedIntentComponentConf extends TaintTracking2::Configuration {
|
||||
|
||||
/** Holds if `expr` modifies the component of an `Intent`. */
|
||||
private predicate changesIntentComponent(Expr expr) {
|
||||
any(IntentGetParcelableExtra igpe) = expr or
|
||||
any(IntentSetComponent isc).getSink() = expr
|
||||
or
|
||||
// obtaining an arbitrary Intent as a Parcelable extra
|
||||
expr instanceof IntentGetParcelableExtra
|
||||
}
|
||||
|
||||
/** A call to the method `Intent.getParcelableExtra`. */
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
*/
|
||||
|
||||
import java
|
||||
import semmle.code.java.dataflow.DataFlow
|
||||
import semmle.code.java.security.AndroidIntentRedirectionQuery
|
||||
import DataFlow::PathGraph
|
||||
|
||||
|
||||
Reference in New Issue
Block a user