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

Predicate signature instructionGuardChecksSig

Holds if the guard g validates the instruction instr upon evaluating to branch.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowUtil
signature predicate instructionGuardChecksSig ( IRGuardCondition g , Instruction instr , boolean branch )