mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
Avoid bad join order
We want to avoid joining on `i` first.
This commit is contained in:
@@ -18,7 +18,7 @@ abstract class ExecCallable extends Callable {
|
||||
class ArgumentToExec extends Expr {
|
||||
ArgumentToExec() {
|
||||
exists(Call execCall, ExecCallable execCallable, int i |
|
||||
execCall.getArgument(i) = this and
|
||||
execCall.getArgument(pragma[only_bind_into](i)) = this and
|
||||
execCallable = execCall.getCallee() and
|
||||
i = execCallable.getAnExecutedArgument()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user