Merge pull request #8560 from erik-krogh/movePolyTest

PY: move the polynomialbacktracking-test to the test folder
This commit is contained in:
yoff
2022-04-26 14:21:30 +02:00
committed by GitHub
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()