CodeQL library for Java/Kotlin
codeql/java-all 4.2.1-dev (changelog, source)
Search

Predicate Make::SsaDefReaches::ssaDefReachesReadWithinBlock

Holds if the SSA definition of v at def reaches index i in the same basic block bb, without crossing another SSA definition of v.

Import path

import codeql.ssa.Ssa
predicate ssaDefReachesReadWithinBlock(SourceVariable v, DefinitionExt def, BasicBlock bb, int i)