Module Make
Classes and predicates implementing an analysis detecting suspicious character ranges.
Import path
import codeql.regex.OverlyLargeRangeQuery
Predicates
allowedWideRanges |
Gets a range that should not be reported as an overly wide range. |
getABadRange |
Gets a char range that is overly large because of |
isAlphanumeric |
Holds if |
isRange |
Holds if |
overlap |
Holds if the given ranges are from the same character class and there exists at least one character matched by both ranges. |
overlapsWithCharEscape |
Holds if |
problem |
Holds if |
rankRange |
Gets a rank for |
toCodePoint |
Gets the unicode code point for a |
Classes
OverlyWideRange |
A character range that appears to be overly wide. |
Modules
RangePrinter |
A module computing an equivalent character class for an overly wide range. |
Parameters
TreeImpl | RegexTreeViewSig |