We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eea79e8 commit d065479Copy full SHA for d065479
java/ql/lib/semmle/code/java/security/regexp/PolynomialReDoSQuery.qll
@@ -55,7 +55,13 @@ module PolynomialRedosConfig implements DataFlow::ConfigSig {
55
regexp.getRootTerm() = sink.(PolynomialRedosSink).getRegExp()
56
|
57
result = sink.getLocation()
58
- or
+ )
59
+ }
60
+
61
+ Location getASelectedSinkLocationApprox(DataFlow::Node sink) {
62
+ exists(SuperlinearBackTracking::PolynomialBackTrackingTerm regexp |
63
+ regexp.getRootTerm() = sink.(PolynomialRedosSink).getRegExp()
64
+ |
65
result = regexp.getLocation()
66
)
67
}
0 commit comments