move the polynomialbacktracking-test to the test folder

This commit is contained in:
Erik Krogh Kristensen
2022-03-25 18:43:09 +01:00
parent af1d949d06
commit 36db492aa2
2 changed files with 2 additions and 1 deletions

View File

@@ -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+ |

View File

@@ -2,5 +2,4 @@ import python
import semmle.python.security.performance.SuperlinearBackTracking
from PolynomialBackTrackingTerm t
where t.getLocation().getFile().getBaseName() = "KnownCVEs.py"
select t.getRegex(), t, t.getReason()