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

Module ReachableBlock

Import path

import semmle.code.cpp.ir.implementation.unaliased_ssa.internal.reachability.ReachableBlock

Predicates

hasInstructionWithMissingSuccessor

Holds if f has an instruction with a missing successor. This matches instructionWithoutSuccessor from IRConsistency, but avoids generating the error strings.

isInfeasibleEdge
isInfeasibleInstructionSuccessor

Classes

ReachableBlock

An IR block that is reachable from the entry block of the function, considering only feasible edges.

ReachableInstruction

An instruction that is contained in a reachable block.

Modules