mirror of
https://github.com/github/codeql.git
synced 2026-04-20 14:34:04 +02:00
24 lines
802 B
Plaintext
Generated
24 lines
802 B
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 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)
|
|
}
|