mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
18 lines
565 B
Plaintext
Generated
18 lines
565 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(CallExpr x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getArgList(CallExpr x, ArgList getArgList) {
|
|
toBeTested(x) and not x.isUnknown() and getArgList = x.getArgList()
|
|
}
|
|
|
|
query predicate getAttr(CallExpr x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|
|
|
|
query predicate getFunction(CallExpr x, Expr getFunction) {
|
|
toBeTested(x) and not x.isUnknown() and getFunction = x.getFunction()
|
|
}
|