mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
C#: Fix bug in BaseSSA::reachesEndOf/3
This commit is contained in:
@@ -101,7 +101,7 @@ module BaseSsa {
|
||||
or
|
||||
exists(BasicBlock mid |
|
||||
reachesEndOf(def, v, mid) and
|
||||
not exists(ssaRefRank(mid, _, v, SsaDef())) and
|
||||
not exists(ssaRefRank(bb, _, v, SsaDef())) and
|
||||
bb = mid.getASuccessor()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user