CodeQL library for C/C++
codeql/cpp-all 0.13.0 (changelog, source)
Search

Predicate SsaCached::lastRefRedefExt

Holds if the node at index i in bb is a last reference to SSA definition def. The reference is last because it can reach another write next, without passing through another read or write.

Import path

import semmle.code.cpp.ir.dataflow.internal.SsaInternals
predicate lastRefRedefExt(DefinitionExt def, IRBlock bb, int i, DefinitionExt next)