mirror of
https://github.com/github/codeql.git
synced 2026-03-30 12:18:18 +02: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() }
|