Skip to content

TaintAnalysis::genInitState

Generate initial lattice state. Generates the initial lattice state for the given dataflow node, in the given function, with the given node state.

Synopsis

Declared in <src/midend/programAnalysis/genericDataflow/simpleAnalyses/taintAnalysis.h>

virtual
void
genInitState(
    Function const& func,
    VirtualCFG::DataflowNode const& node,
    NodeState const& state,
    std::vector<Lattice*>& initLattices,
    std::vector<NodeFact*>& initFacts);

Parameters

Name Description
state ** NodeState ***** The state of all the Lattice elements ***** associated by dataflow analyses with a ***** given node. This state will evolve as ***** a result of the dataflow analysis. ***
initLattices A standard container which offers fixed time access to individual elements in any order.
initFacts A standard container which offers fixed time access to individual elements in any order.

Created with MrDocs