qtil
advanced-security/qtil-ruby 0.0.2
Search

Predicate Content::getKnownElementIndex

Gets the constant value of e, which corresponds to a valid known element index. Unlike calling simply e.getConstantValue(), this excludes negative array indices.

Import path

import codeql.ruby.dataflow.internal.DataFlowPublic
ConstantValue getKnownElementIndex(Expr e)