Module Make
Classes and predicates implementing an analysis on regular expressions that match URLs and hostname patterns.
Import path
import codeql.regex.HostnameRegexpImports
| Utils | Utility predicates and classes that doesn’t depend on any signature. |
Predicates
| alwaysMatchesHostname | Holds if |
| alwaysMatchesHostnameAlt | Holds if every child of |
| alwaysMatchesHostnameAlt | Holds if the first |
| hasConsecutiveDots | Holds if |
| hasTopLevelDomainEnding | Holds if the given regular expression term contains top-level domain preceded by a dot, such as |
| hasTopLevelDomainEnding | Holds if the given sequence |
| incompleteHostnameRegExp | Holds if |
| isConstantInvalidInsideOrigin | Holds if the given constant is unlikely to occur in the origin part of a URL. |
| isDotConstant | Holds if |
| isDotLike | Holds if |
| isInsideChoiceOrSubPattern | Holds if |
| isLeftArmTerm | Holds if |
| isLikelyCaptureGroup | Holds if |
| isRightArmTerm | Holds if |
| matchesBeginningOfString | Holds if |
Parameters
| TreeImpl | RegexTreeViewSig | |
| Specific | HostnameRegexpSig<Make::TreeImpl> |