Skip to content

Commit 0678b06

Browse files
committed
Apply review suggestions
1 parent 2524127 commit 0678b06

File tree

1 file changed

+3
-3
lines changed
  • java/ql/lib/semmle/code/java/frameworks/android

1 file changed

+3
-3
lines changed

java/ql/lib/semmle/code/java/frameworks/android/Intent.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ private import semmle.code.java.dataflow.DataFlow
44
private import semmle.code.java.dataflow.ExternalFlow
55
private import semmle.code.java.dataflow.FlowSteps
66
private import semmle.code.java.dataflow.FlowSummary
7-
private import semmle.code.java.dataflow.internal.BaseSSA as BaseSSA
7+
private import semmle.code.java.dataflow.internal.BaseSSA as BaseSsa
88

99
/** The class `android.content.Intent`. */
1010
class TypeIntent extends Class {
@@ -269,7 +269,7 @@ private predicate reaches(Expr src, Argument arg) {
269269
any(StartComponentMethodAccess ma).getIntentArg() = arg and
270270
src = arg
271271
or
272-
exists(Expr mid, BaseSSA::BaseSsaVariable ssa, BaseSSA::BaseSsaUpdate upd |
272+
exists(Expr mid, BaseSsa::BaseSsaVariable ssa, BaseSsa::BaseSsaUpdate upd |
273273
reaches(mid, arg) and
274274
mid = ssa.getAUse() and
275275
upd = ssa.getAnUltimateLocalDefinition() and
@@ -383,7 +383,7 @@ private class ActivityIntentSyntheticGlobal extends SummaryComponent::SyntheticG
383383

384384
private class RequiredComponentStackForStartActivities extends RequiredSummaryComponentStack {
385385
override predicate required(SummaryComponent head, SummaryComponentStack tail) {
386-
head = SummaryComponent::element() and
386+
head = SummaryComponent::arrayElement() and
387387
tail = SummaryComponentStack::argument(0)
388388
}
389389
}

0 commit comments

Comments
 (0)