Java: Fix test.

This commit is contained in:
Anders Schack-Mulligen
2022-08-17 12:46:35 +02:00
parent 27f76330be
commit c034a1e268

View File

@@ -24,7 +24,9 @@ where
or
exists(ArgumentNode arg, MethodAccess call, DataFlow::ParameterNode p, int i |
src = arg and
p.isParameterOf(call.getMethod().getSourceDeclaration(), i) and
p.isParameterOf(any(DataFlowCallable c |
c.asCallable() = call.getMethod().getSourceDeclaration()
), i) and
arg.argumentOf(any(DataFlowCall c | c.asCall() = call), i)
|
sink.asExpr() = call and