mirror of
https://github.com/github/codeql.git
synced 2026-01-07 03:30:24 +01:00
7 lines
228 B
Plaintext
7 lines
228 B
Plaintext
import ruby
|
|
import codeql.ruby.controlflow.CfgNodes
|
|
|
|
query predicate exprValue(Expr e, ConstantValue v) { v = e.getConstantValue() }
|
|
|
|
query predicate exprCfgNodeValue(ExprCfgNode n, ConstantValue v) { v = n.getConstantValue() }
|