#include <PTACallGraph.h>
|
typedef PTACallGraphEdge::CallGraphEdgeSet | CallGraphEdgeSet |
|
typedef PTACallGraphEdge::CallGraphEdgeSet::iterator | iterator |
|
typedef PTACallGraphEdge::CallGraphEdgeSet::const_iterator | const_iterator |
|
typedef NodeTy | NodeType |
|
typedef EdgeTy | EdgeType |
|
typedef OrderedSet< EdgeType *, typename EdgeType::equalGEdge > | GEdgeSetTy |
| Edge kind. More...
|
|
typedef GEdgeSetTy::iterator | iterator |
|
typedef GEdgeSetTy::const_iterator | const_iterator |
|
enum | GNodeK {
IntraBlock
, GlobalBlock
, FunEntryBlock
, FunExitBlock
,
FunCallBlock
, FunRetBlock
, ValNode
, GepValNode
,
RetNode
, VarargNode
, DummyValNode
, ObjNode
,
GepObjNode
, FIObjNode
, DummyObjNode
, Cmp
,
BinaryOp
, UnaryOp
, Branch
, DummyVProp
,
NPtr
, FRet
, ARet
, AParm
,
FParm
, Addr
, Copy
, Gep
,
Store
, Load
, TPhi
, TIntraPhi
,
TInterPhi
, FPIN
, FPOUT
, APIN
,
APOUT
, MPhi
, MIntraPhi
, MInterPhi
,
CallNodeKd
, CDNodeKd
, CFLNodeKd
, CHNodeKd
,
ConstraintNodeKd
, TCTNodeKd
, DCHNodeKd
, OtherKd
} |
|
Definition at line 174 of file PTACallGraph.h.
◆ CallGraphEdgeSet
◆ const_iterator
◆ iterator
◆ PTACallGraphNode()
Constructor.
Definition at line 187 of file PTACallGraph.h.
GenericNode< PTACallGraphNode, PTACallGraphEdge > GenericCallGraphNodeTy
◆ classof() [1/3]
◆ classof() [2/3]
Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 220 of file PTACallGraph.h.
◆ classof() [3/3]
static bool SVF::PTACallGraphNode::classof |
( |
const SVFBaseNode * |
node | ) |
|
|
inlinestatic |
◆ getFunction()
const SVFFunction* SVF::PTACallGraphNode::getFunction |
( |
| ) |
const |
|
inline |
◆ getName()
const std::string& SVF::PTACallGraphNode::getName |
( |
| ) |
const |
|
inline |
◆ isReachableFromProgEntry()
bool PTACallGraphNode::isReachableFromProgEntry |
( |
| ) |
const |
Return TRUE if this function can be reached from main.
Definition at line 81 of file PTACallGraph.cpp.
83 std::stack<const PTACallGraphNode*> nodeStack;
88 while (nodeStack.empty() ==
false)
NodeType * getSrcNode() const
NodeID getSrcID() const
get methods of the components
const SVFFunction * getFunction() const
Get function of this call node.
PTACallGraphEdge::CallGraphEdgeSet::const_iterator const_iterator
NodeID getId() const
Get ID.
bool test_and_set(unsigned Idx)
bool isProgEntryFunction(const SVFFunction *fun)
Program entry function e.g. main.
◆ toString()
Definition at line 73 of file PTACallGraph.cpp.
76 std::stringstream rawstr(str);
77 rawstr <<
"PTACallGraphNode ID: " <<
getId() <<
" {fun: " <<
fun->
getName() <<
"}";
◆ operator<<
Overloading operator << for dumping ICFG node ID.
Definition at line 209 of file PTACallGraph.h.
211 o << node.toString();
◆ fun
The documentation for this class was generated from the following files: