Python: mimic JS file hierarchy

This commit is contained in:
Rasmus Lerchedahl Petersen
2021-06-30 15:03:22 +02:00
parent 651f8abba0
commit c306cee04e
8 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
import python
import semmle.python.regex.SuperlinearBackTracking
import semmle.python.security.performance.SuperlinearBackTracking
from PolynomialBackTrackingTerm t
where t.getLocation().getFile().getBaseName() = "KnownCVEs.py"

View File

@@ -12,7 +12,7 @@
*/
import python
import semmle.python.regex.SuperlinearBackTracking
import semmle.python.security.performance.SuperlinearBackTracking
import semmle.python.security.dataflow.PolynomialReDoS
import DataFlow::PathGraph

View File

@@ -13,7 +13,7 @@
*/
import python
import semmle.python.regex.ExponentialBackTracking
import semmle.python.security.performance.ExponentialBackTracking
from RegExpTerm t, string pump, State s, string prefixMsg
where