CodeQL library for C/C++
codeql/cpp-all 1.1.2-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)