CodeQL library for JavaScript
codeql/javascript-all 0.2.2 (changelog, source)
Search

Predicate getReasonString

Gets a message for why term can cause polynomial backtracking.

Import path

import semmle.javascript.security.performance.SuperlinearBackTracking
string getReasonString(RegExpTerm term, string pump, string prefixMsg, RegExpTerm prev)