Skip to content

Commit 90a50e7

Browse files
committed
Java: Fix bad join-order.
1 parent 6508afe commit 90a50e7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

java/ql/lib/semmle/code/java/dispatch/WrappedInvocation.qll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ private Expr getRunnerArgument(MethodAccess ma, Method runmethod) {
3939
or
4040
getRunnerArgument(ma, runmethod).(CastExpr).getExpr() = result
4141
or
42-
getRunnerArgument(ma, runmethod).(VarAccess).getVariable().getAnAssignedValue() = result
42+
pragma[only_bind_out](getRunnerArgument(ma, runmethod))
43+
.(VarAccess)
44+
.getVariable()
45+
.getAnAssignedValue() = result
4346
}
4447

4548
/**

0 commit comments

Comments
 (0)