mirror of
https://github.com/github/codeql.git
synced 2025-12-23 20:26:32 +01:00
C++: Fix join order in the IR dataflow library
Not having this fixed caused problems when updating the database scheme stats file.
This commit is contained in:
@@ -241,8 +241,8 @@ private module Cached {
|
|||||||
// For compatibility, send flow from arguments to parameters, even for
|
// For compatibility, send flow from arguments to parameters, even for
|
||||||
// functions with no body.
|
// functions with no body.
|
||||||
exists(FunctionCall call, int i |
|
exists(FunctionCall call, int i |
|
||||||
sink.asExpr() = call.getArgument(i) and
|
sink.asExpr() = call.getArgument(pragma[only_bind_into](i)) and
|
||||||
result = resolveCall(call).getParameter(i)
|
result = resolveCall(call).getParameter(pragma[only_bind_into](i))
|
||||||
)
|
)
|
||||||
or
|
or
|
||||||
// For compatibility, send flow into a `Variable` if there is flow to any
|
// For compatibility, send flow into a `Variable` if there is flow to any
|
||||||
|
|||||||
Reference in New Issue
Block a user