зеркало из https://github.com/github/codeql.git
import the non-deprecated NfaUtils in the overly-large-range query
This commit is contained in:
Родитель
7a47551027
Коммит
8e6a36256c
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// We don't need the NFA utils, just the regexp tree.
|
// We don't need the NFA utils, just the regexp tree.
|
||||||
// but the below is a nice shared library that exposes the API we need.
|
// but the below is a nice shared library that exposes the API we need.
|
||||||
import performance.ReDoSUtil
|
import regexp.NfaUtils
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a rank for `range` that is unique for ranges in the same file.
|
* Gets a rank for `range` that is unique for ranges in the same file.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// We don't need the NFA utils, just the regexp tree.
|
// We don't need the NFA utils, just the regexp tree.
|
||||||
// but the below is a nice shared library that exposes the API we need.
|
// but the below is a nice shared library that exposes the API we need.
|
||||||
import performance.ReDoSUtil
|
import regexp.NfaUtils
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a rank for `range` that is unique for ranges in the same file.
|
* Gets a rank for `range` that is unique for ranges in the same file.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// We don't need the NFA utils, just the regexp tree.
|
// We don't need the NFA utils, just the regexp tree.
|
||||||
// but the below is a nice shared library that exposes the API we need.
|
// but the below is a nice shared library that exposes the API we need.
|
||||||
import performance.ReDoSUtil
|
import regexp.NfaUtils
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a rank for `range` that is unique for ranges in the same file.
|
* Gets a rank for `range` that is unique for ranges in the same file.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
// We don't need the NFA utils, just the regexp tree.
|
// We don't need the NFA utils, just the regexp tree.
|
||||||
// but the below is a nice shared library that exposes the API we need.
|
// but the below is a nice shared library that exposes the API we need.
|
||||||
import performance.ReDoSUtil
|
import regexp.NfaUtils
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a rank for `range` that is unique for ranges in the same file.
|
* Gets a rank for `range` that is unique for ranges in the same file.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче