mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Merge pull request #8560 from erik-krogh/movePolyTest
PY: move the polynomialbacktracking-test to the test folder
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
| test.py:8:12:8:23 | Str | test.py:8:21:8:23 | \\s+ | Strings with many repetitions of ' ' can start matching anywhere after the start of the preceeding \\s+$ |
|
||||||
|
| test.py:9:14:9:29 | Str | test.py:9:27:9:29 | \\d+ | Strings with many repetitions of '99' can start matching anywhere after the start of the preceeding \\d+ |
|
||||||
@@ -2,5 +2,4 @@ import python
|
|||||||
import semmle.python.security.performance.SuperlinearBackTracking
|
import semmle.python.security.performance.SuperlinearBackTracking
|
||||||
|
|
||||||
from PolynomialBackTrackingTerm t
|
from PolynomialBackTrackingTerm t
|
||||||
where t.getLocation().getFile().getBaseName() = "KnownCVEs.py"
|
|
||||||
select t.getRegex(), t, t.getReason()
|
select t.getRegex(), t, t.getReason()
|
||||||
Reference in New Issue
Block a user