We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0751c75 commit a19200dCopy full SHA for a19200d
rust/ql/lib/codeql/rust/elements/Call.qll
@@ -7,6 +7,15 @@ private import internal.CallImpl
7
8
final class Call = Impl::Call;
9
10
+// todo: remove once internal query has been updated
11
+final class CallExpr extends ParenArgsExpr {
12
+ Expr getFunction() { result = this.getBase() }
13
+
14
+ Expr getArg(int i) { result = this.getArgument(i) }
15
16
+ int getNumberOfArgs() { result = this.getNumberOfArguments() }
17
+}
18
19
private predicate isClosureCall(ParenArgsExpr call) {
20
exists(Expr receiver | receiver = call.getBase() |
21
// All calls to complex expressions and local variable accesses are lambda calls
0 commit comments