CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1-dev (changelog, source)
Search

Predicate Make::getReasonString

Gets a message for why term can cause polynomial backtracking.

Import path

import codeql.regex.nfa.SuperlinearBackTracking
string getReasonString(RegExpTerm term, string pump, string prefixMsg, RegExpTerm prev)