CodeQL library for JavaScript
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)