mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
32 lines
1.1 KiB
Plaintext
Generated
32 lines
1.1 KiB
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(AsmExpr x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getExtendedCanonicalPath(AsmExpr x, string getExtendedCanonicalPath) {
|
|
toBeTested(x) and not x.isUnknown() and getExtendedCanonicalPath = x.getExtendedCanonicalPath()
|
|
}
|
|
|
|
query predicate getCrateOrigin(AsmExpr x, string getCrateOrigin) {
|
|
toBeTested(x) and not x.isUnknown() and getCrateOrigin = x.getCrateOrigin()
|
|
}
|
|
|
|
query predicate getAttributeMacroExpansion(AsmExpr x, MacroItems getAttributeMacroExpansion) {
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getAttributeMacroExpansion = x.getAttributeMacroExpansion()
|
|
}
|
|
|
|
query predicate getAsmPiece(AsmExpr x, int index, AsmPiece getAsmPiece) {
|
|
toBeTested(x) and not x.isUnknown() and getAsmPiece = x.getAsmPiece(index)
|
|
}
|
|
|
|
query predicate getAttr(AsmExpr x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|
|
|
|
query predicate getTemplate(AsmExpr x, int index, Expr getTemplate) {
|
|
toBeTested(x) and not x.isUnknown() and getTemplate = x.getTemplate(index)
|
|
}
|