mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
14 lines
415 B
Plaintext
Generated
14 lines
415 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(PathExpr x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getPath(PathExpr x, Path getPath) {
|
|
toBeTested(x) and not x.isUnknown() and getPath = x.getPath()
|
|
}
|
|
|
|
query predicate getAttr(PathExpr x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|