Don't restrict inputs to be ParameterNodes

Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
This commit is contained in:
Tony Torralba
2021-09-28 11:21:56 +02:00
committed by GitHub
parent d5f675c2dc
commit 46eb27cd01

View File

@@ -254,7 +254,7 @@ class AndroidContentProviderInput extends DataFlow::Node {
AndroidContentProviderInput() {
sourceNode(this, "contentprovider") and
this.asParameter().getCallable().getDeclaringType() = declaringType
this.getEnclosingCallable().getDeclaringType() = declaringType
}
}