|
Static Value-Flow Analysis
|
#include <SVFVariables.h>
Public Member Functions | |
| virtual const std::string | getValueName () const |
| Return name of a LLVM value. | |
| virtual const std::string | toString () const |
| Get string representation. | |
| std::string | getObjVarNodeFieldsStmt () const |
| Public Member Functions inherited from SVF::SVFVar | |
| SVFVar (NodeID i, const SVFType *svfType, PNODEK k) | |
| Standard constructor with ID, type and kind. | |
| virtual | ~SVFVar () |
| Virtual destructor. | |
| virtual bool | isPointer () const |
| Check if this variable represents a pointer. | |
| virtual bool | isConstDataOrAggDataButNotNullPtr () const |
| Check if this variable represents constant data/metadata but not null pointer. | |
| virtual bool | isIsolatedNode () const |
| Check if this node is isolated (no edges) in the PAG graph. | |
| virtual const FunObjVar * | getFunction () const |
| Get containing function, or null for globals/constants. | |
| SVFStmt::SVFStmtSetTy & | getIncomingEdges (SVFStmt::PEDGEK kind) |
| Edge accessors and checkers. | |
| SVFStmt::SVFStmtSetTy & | getOutgoingEdges (SVFStmt::PEDGEK kind) |
| bool | hasIncomingEdges (SVFStmt::PEDGEK kind) const |
| bool | hasOutgoingEdges (SVFStmt::PEDGEK kind) const |
| SVFStmt::SVFStmtSetTy::iterator | getIncomingEdgesBegin (SVFStmt::PEDGEK kind) const |
| Edge iterators. | |
| SVFStmt::SVFStmtSetTy::iterator | getIncomingEdgesEnd (SVFStmt::PEDGEK kind) const |
| SVFStmt::SVFStmtSetTy::iterator | getOutgoingEdgesBegin (SVFStmt::PEDGEK kind) const |
| SVFStmt::SVFStmtSetTy::iterator | getOutgoingEdgesEnd (SVFStmt::PEDGEK kind) const |
| virtual bool | ptrInUncalledFunction () const |
| Check if this pointer is in an uncalled function. | |
| virtual bool | isConstDataOrAggData () const |
| Check if this variable represents constant/aggregate data. | |
| void | dump () const |
| Debug dump to console. | |
| Public Member Functions inherited from SVF::GenericNode< SVFVar, SVFStmt > | |
| GenericNode (NodeID i, GNodeK k, const SVFType *svfType=nullptr) | |
| Constructor. | |
| virtual | ~GenericNode () |
| Destructor. | |
| bool | hasIncomingEdge () const |
| Has incoming/outgoing edge set. | |
| bool | hasOutgoingEdge () const |
| iterator | OutEdgeBegin () |
| iterators | |
| iterator | OutEdgeEnd () |
| iterator | InEdgeBegin () |
| iterator | InEdgeEnd () |
| const_iterator | OutEdgeBegin () const |
| const_iterator | OutEdgeEnd () const |
| const_iterator | InEdgeBegin () const |
| const_iterator | InEdgeEnd () const |
| virtual iterator | directOutEdgeBegin () |
| Iterators used for SCC detection, overwrite it in child class if necessary. | |
| virtual iterator | directOutEdgeEnd () |
| virtual iterator | directInEdgeBegin () |
| virtual iterator | directInEdgeEnd () |
| virtual const_iterator | directOutEdgeBegin () const |
| virtual const_iterator | directOutEdgeEnd () const |
| virtual const_iterator | directInEdgeBegin () const |
| virtual const_iterator | directInEdgeEnd () const |
| bool | addIncomingEdge (EdgeType *inEdge) |
| Add incoming and outgoing edges. | |
| bool | addOutgoingEdge (EdgeType *outEdge) |
| EdgeType * | hasIncomingEdge (EdgeType *edge) const |
| Find incoming and outgoing edges. | |
| EdgeType * | hasOutgoingEdge (EdgeType *edge) const |
| const GEdgeSetTy & | getOutEdges () const |
| const GEdgeSetTy & | getInEdges () const |
| u32_t | removeIncomingEdge (EdgeType *edge) |
| u32_t | removeOutgoingEdge (EdgeType *edge) |
| Public Member Functions inherited from SVF::SVFValue | |
| SVFValue (NodeID i, GNodeK k, const SVFType *ty=nullptr) | |
| NodeID | getId () const |
| Get ID. | |
| GNodeK | getNodeKind () const |
| Get node kind. | |
| virtual const SVFType * | getType () const |
| virtual void | setName (const std::string &nameInfo) |
| virtual void | setName (std::string &&nameInfo) |
| virtual const std::string & | getName () const |
| virtual void | setSourceLoc (const std::string &sourceCodeInfo) |
| virtual const std::string | getSourceLoc () const |
| const std::string | valueOnlyToString () const |
| const bool | hasLLVMValue () const |
Static Public Member Functions | |
| static bool | classof (const ObjVar *) |
| Methods for support type inquiry through isa, cast, and dyn_cast: | |
| static bool | classof (const SVFVar *node) |
| static bool | classof (const GenericPAGNodeTy *node) |
| static bool | classof (const SVFValue *node) |
| Static Public Member Functions inherited from SVF::SVFVar | |
| static bool | classof (const SVFVar *) |
| Type checking support for LLVM-style RTTI. | |
| static bool | classof (const GenericPAGNodeTy *node) |
| static bool | classof (const SVFValue *node) |
| Static Public Member Functions inherited from SVF::GenericNode< SVFVar, SVFStmt > | |
| static bool | classof (const GenericNode< SVFVar, SVFStmt > *) |
| static bool | classof (const SVFValue *) |
Protected Member Functions | |
| ObjVar (NodeID i, const SVFType *svfType, PNODEK ty=ObjNode) | |
| Constructor. | |
| Protected Member Functions inherited from SVF::SVFVar | |
| const SVFStmt::KindToSVFStmtMapTy & | getInEdgeKindToSetMap () const |
| const SVFStmt::KindToSVFStmtMapTy & | getOutEdgeKindToSetMap () const |
Friends | |
| class | GraphDBClient |
Definition at line 315 of file SVFVariables.h.
Constructor.
Definition at line 321 of file SVFVariables.h.
|
inlinestatic |
Definition at line 336 of file SVFVariables.h.
|
inlinestatic |
Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 328 of file SVFVariables.h.
|
inlinestatic |
Definition at line 340 of file SVFVariables.h.
|
inlinestatic |
Definition at line 332 of file SVFVariables.h.
| std::string SVF::ObjVar::getObjVarNodeFieldsStmt | ( | ) | const |
|
inlinevirtual |
Return name of a LLVM value.
Implements SVF::SVFVar.
Reimplemented in SVF::BaseObjVar, SVF::DummyObjVar, SVF::GepObjVar, SVF::HeapObjVar, and SVF::StackObjVar.
Definition at line 347 of file SVFVariables.h.
|
virtual |
Get string representation.
Reimplemented from SVF::SVFVar.
Reimplemented in SVF::BaseObjVar, SVF::ConstDataObjVar, SVF::ConstFPObjVar, SVF::ConstIntObjVar, SVF::ConstNullPtrObjVar, SVF::DummyObjVar, SVF::FunObjVar, SVF::GepObjVar, SVF::GlobalObjVar, SVF::HeapObjVar, and SVF::StackObjVar.
Definition at line 141 of file SVFVariables.cpp.
|
friend |
Definition at line 317 of file SVFVariables.h.