CodeQL library for Ruby
codeql/ruby-all 3.0.1-dev (changelog, source)
Search

Predicate Make::isEndTuple

Holds if tuple is an end state in our search. That means there exists a pair of loops (pivot, pumpEnd) such that tuple = (pivot, pumpEnd, pumpEnd).

Import path

import codeql.regex.nfa.SuperlinearBackTracking
predicate isEndTuple(StateTuple tuple)