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

Module TaintTracking2

Provides a TaintTracking2 module, which is a copy of the TaintTracking module. Use this class when data-flow configurations or taint-tracking configurations must depend on each other. Two classes extending DataFlow::Configuration should never depend on each other, but one of them should instead depend on a DataFlow2::Configuration, a DataFlow3::Configuration, or a DataFlow4::Configuration. The TaintTracking::Configuration class extends DataFlow::Configuration, and TaintTracking2::Configuration extends DataFlow2::Configuration.

See semmle.code.cpp.ir.dataflow.TaintTracking for the full documentation.

Import path

import semmle.code.cpp.ir.dataflow.TaintTracking2

Imports

TaintTrackingImpl

DEPRECATED: Use Global and GlobalWithState instead.