#include <SVFStatements.h>
|
| enum | PEDGEK {
Addr
, Copy
, Store
, Load
,
Call
, Ret
, Gep
, Phi
,
Select
, Cmp
, BinaryOp
, UnaryOp
,
Branch
, ThreadFork
, ThreadJoin
} |
| typedef GenericNode< SVFVar, SVFStmt >::GEdgeSetTy | SVFStmtSetTy |
| typedef Map< EdgeID, SVFStmtSetTy > | PAGEdgeToSetMapTy |
| typedef PAGEdgeToSetMapTy | KindToSVFStmtMapTy |
| typedef SVFStmtSetTy | PAGEdgeSetTy |
| typedef SVFVar | NodeType |
| | Node type.
|
| typedef u64_t | GEdgeFlag |
| typedef s64_t | GEdgeKind |
| typedef struct SVF::GenericEdge::equalGEdge | equalGEdge |
| | Add the hash function for std::set (we also can overload operator< to implement this).
|
| | AssignStmt (SVFVar *s, SVFVar *d, GEdgeFlag k) |
| | constructor
|
| | SVFStmt (GEdgeFlag k) |
| | Private constructor for reading SVFIR from file without side-effect.
|
| | SVFStmt (SVFVar *s, SVFVar *d, GEdgeFlag k, EdgeID eid, SVFVar *value, ICFGNode *icfgNode, bool real=true) |
| void | setBasicBlock (const SVFBasicBlock *bb) |
| void | setCallEdgeLabelCounter (u64_t counter) |
| void | setStoreEdgeLabelCounter (u64_t counter) |
| void | setMultiOpndLabelCounter (u64_t counter) |
| static void | addInst2Labeled (const ICFGNode *cs, u32_t label) |
| static void | addVar2Labeled (const SVFVar *var, u32_t label) |
| static constexpr unsigned char | EdgeKindMaskBits |
| | We use the lower 8 bits to denote edge kind.
|
| static constexpr u64_t | EdgeKindMask |
Return
Definition at line 696 of file SVFStatements.h.
◆ RetPE() [1/2]
| SVF::RetPE::RetPE |
( |
const RetPE & | | ) |
|
|
private |
◆ RetPE() [2/2]
constructor
Definition at line 516 of file SVFStatements.cpp.
519{
520}
const FunExitICFGNode * exit
the callsite statement returning to
const CallICFGNode * call
static GEdgeFlag makeEdgeFlagWithCallInst(GEdgeKind k, const ICFGNode *cs)
◆ classof() [1/3]
◆ classof() [2/3]
| bool SVF::RetPE::classof |
( |
const RetPE * | | ) |
|
|
inlinestatic |
the function exit statement returned from
Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 710 of file SVFStatements.h.
711 {
712 return true;
713 }
◆ classof() [3/3]
| bool SVF::RetPE::classof |
( |
const SVFStmt * | edge | ) |
|
|
inlinestatic |
◆ getCallInst()
Get method for call instruction at caller.
Definition at line 732 of file SVFStatements.h.
◆ getCallSite()
◆ getDstNode()
| const ValVar * RetPE::getDstNode |
( |
| ) |
const |
◆ getFunExitICFGNode()
◆ getLHSVar()
| const ValVar * RetPE::getLHSVar |
( |
| ) |
const |
Definition at line 397 of file SVFStatements.cpp.
398{
400}
NodeType * getDstNode() const
std::enable_if_t<!is_simple_type< Y >::value, typename cast_retty< X, const Y >::ret_type > cast(const Y &Val)
◆ getRHSVar()
| const ValVar * RetPE::getRHSVar |
( |
| ) |
const |
◆ getSrcNode()
| const ValVar * RetPE::getSrcNode |
( |
| ) |
const |
◆ operator=()
| void SVF::RetPE::operator= |
( |
const RetPE & | | ) |
|
|
private |
◆ toString()
| const std::string RetPE::toString |
( |
| ) |
const |
|
overridevirtual |
Implements SVF::AssignStmt.
Reimplemented in SVF::TDJoinPE.
Definition at line 261 of file SVFStatements.cpp.
262{
263 std::string str;
264 std::stringstream rawstr(str);
267 {
268 rawstr << "\n";
270 }
271 return rawstr.str();
272}
NodeID getRHSVarID() const
NodeID getLHSVarID() const
static const Option< bool > ShowSVFIRValue
const SVFVar * getValue() const
virtual const std::string toString() const
Get string representation.
◆ GraphDBClient
| friend class GraphDBClient |
|
friend |
◆ call
◆ exit
The documentation for this class was generated from the following files: