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

Predicate localInstructionTaint

Holds if taint can flow from i1 to i2 in zero or more local (intra-procedural) steps.

Import path

import semmle.code.cpp.ir.dataflow.internal.TaintTrackingUtil
predicate localInstructionTaint(Instruction i1, Instruction i2)