mirror of
https://github.com/github/codeql.git
synced 2026-02-11 04:31:05 +01:00
add context to the rankState predicate in ExponentialBackTracking.qll
This commit is contained in:
@@ -115,6 +115,7 @@ private newtype TStatePair =
|
||||
private int rankState(State state) {
|
||||
state =
|
||||
rank[result](State s, Location l |
|
||||
stateInsideBacktracking(s) and
|
||||
l = s.getRepr().getLocation()
|
||||
|
|
||||
s order by l.getStartLine(), l.getStartColumn(), s.toString()
|
||||
|
||||
Reference in New Issue
Block a user