mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Shared: Make approximate location filtering the default behaviour
This commit is contained in:
@@ -55,13 +55,7 @@ module PolynomialRedosConfig implements DataFlow::ConfigSig {
|
||||
regexp.getRootTerm() = sink.(PolynomialRedosSink).getRegExp()
|
||||
|
|
||||
result = sink.getLocation()
|
||||
)
|
||||
}
|
||||
|
||||
Location getASelectedSinkLocationApprox(DataFlow::Node sink) {
|
||||
exists(SuperlinearBackTracking::PolynomialBackTrackingTerm regexp |
|
||||
regexp.getRootTerm() = sink.(PolynomialRedosSink).getRegExp()
|
||||
|
|
||||
or
|
||||
result = regexp.getLocation()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user