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 7e441d9 commit a4fee2eCopy full SHA for a4fee2e
shared/ssa/codeql/ssa/Ssa.qll
@@ -480,7 +480,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
480
ssaDefReachesReadWithinBlock(v, def, bb, i)
481
or
482
ssaRef(bb, i, v, SsaActualRead()) and
483
- ssaDefReachesEndOfBlock(getABasicBlockPredecessor(bb), def, v) and
+ ssaDefReachesEndOfBlock(getImmediateBasicBlockDominator(bb), def, v) and
484
not ssaDefReachesReadWithinBlock(v, _, bb, i)
485
}
486
0 commit comments