ROSE 0.11.145.192
Public Member Functions | Public Attributes | List of all members
IntraProceduralDataflow Class Referenceabstract

Description

Definition at line 28 of file dataflow.h.

Inheritance diagram for IntraProceduralDataflow:
Inheritance graph
[legend]
Collaboration diagram for IntraProceduralDataflow:
Collaboration graph
[legend]

Public Member Functions

virtual void genInitState (const Function &func, const DataflowNode &n, const NodeState &state, std::vector< Lattice * > &initLattices, std::vector< NodeFact * > &initFacts)=0
 
void setInterAnalysis (InterProceduralDataflow *interDataflowAnalysis)
 
void setInterAnalysis (IntraProceduralDataflow *intraDFAnalysis)
 
virtual bool runAnalysis (const Function &func, NodeState *state, bool analyzeDueToCallers, std::set< Function > calleesUpdated)=0
 
bool runAnalysis (const Function &func, NodeState *state)
 
InterProceduralDataflowgetInterAnalysis () const
 
- Public Member Functions inherited from IntraProceduralAnalysis
void setInterAnalysis (InterProceduralAnalysis *interAnalysis)
 
- Public Member Functions inherited from Analysis
 Analysis (bool(*f)(CFGNode)=defaultFilter)
 

Public Attributes

std::set< Functionvisited
 
- Public Attributes inherited from Analysis
bool(* filter )(CFGNode cfgn)
 

Additional Inherited Members

- Protected Attributes inherited from IntraProceduralAnalysis
InterProceduralAnalysisinterAnalysis
 

Member Function Documentation

◆ genInitState()

virtual void IntraProceduralDataflow::genInitState ( const Function func,
const DataflowNode n,
const NodeState state,
std::vector< Lattice * > &  initLattices,
std::vector< NodeFact * > &  initFacts 
)
pure virtual

Implemented in TaintAnalysis.

◆ setInterAnalysis() [1/2]

void IntraProceduralDataflow::setInterAnalysis ( InterProceduralDataflow interDataflowAnalysis)
inline

Definition at line 50 of file dataflow.h.

◆ setInterAnalysis() [2/2]

void IntraProceduralDataflow::setInterAnalysis ( IntraProceduralDataflow intraDFAnalysis)
inline

Definition at line 53 of file dataflow.h.

◆ runAnalysis()

bool IntraProceduralDataflow::runAnalysis ( const Function func,
NodeState state 
)
inlinevirtual

Implements IntraProceduralAnalysis.

Definition at line 68 of file dataflow.h.

◆ getInterAnalysis()

InterProceduralDataflow * IntraProceduralDataflow::getInterAnalysis ( ) const
inline

Definition at line 80 of file dataflow.h.

Member Data Documentation

◆ visited

std::set<Function> IntraProceduralDataflow::visited

Definition at line 48 of file dataflow.h.


The documentation for this class was generated from the following file: