#include <PTACallGraph.h>
Definition at line 52 of file PTACallGraph.h.
◆ CallGraphEdgeSet
◆ CallInstSet
◆ CEDGEK
Enumerator |
---|
CallRetEdge | |
TDForkEdge | |
TDJoinEdge | |
HareParForEdge | |
Definition at line 57 of file PTACallGraph.h.
◆ PTACallGraphEdge()
Constructor.
Definition at line 69 of file PTACallGraph.h.
69 :
71 {
72 }
static GEdgeFlag makeEdgeFlagWithInvokeID(GEdgeKind k, CallSiteID cs)
Compute the unique edgeFlag value from edge kind and CallSiteID.
GenericEdge< PTACallGraphNode > GenericPTACallGraphEdgeTy
llvm::IRBuilder IRBuilder
◆ ~PTACallGraphEdge()
virtual SVF::PTACallGraphEdge::~PTACallGraphEdge |
( |
| ) |
|
|
inlinevirtual |
◆ addDirectCallSite()
Add direct and indirect callsite.
Definition at line 47 of file PTACallGraph.cpp.
48{
51}
const SVFFunction * getCalledFunction() const
◆ addInDirectCallSite()
Definition at line 53 of file PTACallGraph.cpp.
54{
56 "not an indirect callsite??");
58}
CallInstSet indirectCalls
const ValVar * getForkedFun(const CallICFGNode *inst)
Return thread fork function.
◆ classof() [1/2]
◆ classof() [2/2]
◆ directCallsBegin()
CallInstSet::const_iterator SVF::PTACallGraphEdge::directCallsBegin |
( |
| ) |
const |
|
inline |
Iterators for direct and indirect callsites.
Definition at line 123 of file PTACallGraph.h.
◆ directCallsEnd()
CallInstSet::const_iterator SVF::PTACallGraphEdge::directCallsEnd |
( |
| ) |
const |
|
inline |
◆ getCallSiteID()
CallSiteID SVF::PTACallGraphEdge::getCallSiteID |
( |
| ) |
const |
|
inline |
◆ getDirectCalls() [1/2]
CallInstSet & SVF::PTACallGraphEdge::getDirectCalls |
( |
| ) |
|
|
inline |
◆ getDirectCalls() [2/2]
◆ getIndirectCalls() [1/2]
CallInstSet & SVF::PTACallGraphEdge::getIndirectCalls |
( |
| ) |
|
|
inline |
◆ getIndirectCalls() [2/2]
◆ indirectCallsBegin()
CallInstSet::const_iterator SVF::PTACallGraphEdge::indirectCallsBegin |
( |
| ) |
const |
|
inline |
◆ indirectCallsEnd()
CallInstSet::const_iterator SVF::PTACallGraphEdge::indirectCallsEnd |
( |
| ) |
const |
|
inline |
◆ isDirectCallEdge()
bool SVF::PTACallGraphEdge::isDirectCallEdge |
( |
| ) |
const |
|
inline |
◆ isIndirectCallEdge()
bool SVF::PTACallGraphEdge::isIndirectCallEdge |
( |
| ) |
const |
|
inline |
◆ makeEdgeFlagWithInvokeID()
Compute the unique edgeFlag value from edge kind and CallSiteID.
Definition at line 78 of file PTACallGraph.h.
79 {
81 }
static constexpr unsigned char EdgeKindMaskBits
We use the lower 8 bits to denote edge kind.
◆ toString()
const std::string PTACallGraphEdge::toString |
( |
| ) |
const |
|
virtual |
◆ operator<<
Overloading operator << for dumping ICFG node ID.
Definition at line 158 of file PTACallGraph.h.
159 {
160 o <<
edge.toString();
162 }
◆ csId
◆ directCalls
◆ indirectCalls
The documentation for this class was generated from the following files: