mirror of
https://github.com/github/codeql.git
synced 2026-02-15 14:33:40 +01:00
15 lines
607 B
Plaintext
Generated
15 lines
607 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from CallExpr x, string hasArgList, int getNumberOfAttrs, int getNumberOfArgs, string hasFunction
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
(if x.hasArgList() then hasArgList = "yes" else hasArgList = "no") and
|
|
getNumberOfAttrs = x.getNumberOfAttrs() and
|
|
getNumberOfArgs = x.getNumberOfArgs() and
|
|
if x.hasFunction() then hasFunction = "yes" else hasFunction = "no"
|
|
select x, "hasArgList:", hasArgList, "getNumberOfAttrs:", getNumberOfAttrs, "getNumberOfArgs:",
|
|
getNumberOfArgs, "hasFunction:", hasFunction
|