mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
18 lines
696 B
Plaintext
18 lines
696 B
Plaintext
/**
|
|
* Provides a library for local (intra-procedural) and global (inter-procedural)
|
|
* data flow analysis: deciding whether data can flow from a _source_ to a
|
|
* _sink_.
|
|
*
|
|
* Unless configured otherwise, _flow_ means that the exact value of
|
|
* the source may reach the sink.
|
|
*
|
|
* To use global (interprocedural) data flow, extend the class
|
|
* `DataFlow::Configuration` as documented on that class. To use local
|
|
* (intraprocedural) data flow between expressions, call
|
|
* `DataFlow::localExprFlow`. For more general cases of local data flow, call
|
|
* `DataFlow::localFlow` or `DataFlow::localFlowStep` with arguments of type
|
|
* `DataFlow::Node`.
|
|
*/
|
|
|
|
import semmle.code.cpp.ir.dataflow.DataFlow
|