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:
@@ -22,9 +22,7 @@ private module PolynomialReDoSConfig implements DataFlow::ConfigSig {
|
||||
|
||||
Location getASelectedSinkLocation(DataFlow::Node sink) {
|
||||
result = sink.(Sink).getHighlight().getLocation()
|
||||
}
|
||||
|
||||
Location getASelectedSinkLocationApprox(DataFlow::Node sink) {
|
||||
or
|
||||
result = sink.(Sink).getABacktrackingTerm().getLocation()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user