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

Predicate Make::Consistency::deadDef

Holds if a definition cannot reach a read.

Import path

import codeql.ssa.Ssa
predicate deadDef(RelevantDefinition def, SourceVariable v)