|
Static Value-Flow Analysis
|
#include <CHG.h>
Public Member Functions | |
| CHNode (const std::string &name, NodeID i=0, GNodeK k=CHNodeKd) | |
| ~CHNode () | |
| virtual const std::string & | getName () const |
| void | setFlag (CLASSATTR mask) |
| Flags. | |
| bool | hasFlag (CLASSATTR mask) const |
| void | setPureAbstract () |
| Attribute. | |
| void | setMultiInheritance () |
| void | setTemplate () |
| bool | isPureAbstract () const |
| bool | isMultiInheritance () const |
| bool | isTemplate () const |
| void | addVirtualFunctionVector (FuncVector vfuncvec) |
| const std::vector< FuncVector > & | getVirtualFunctionVectors () const |
| void | getVirtualFunctions (u32_t idx, FuncVector &virtualFunctions) const |
| const GlobalObjVar * | getVTable () const |
| void | setVTable (const GlobalObjVar *vtbl) |
| Public Member Functions inherited from SVF::GenericNode< CHNode, CHEdge > | |
| 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 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 CHNode *) |
| Methods for support type inquiry through isa, cast, and dyn_cast: | |
| static bool | classof (const GenericCHNodeTy *node) |
| static bool | classof (const SVFValue *node) |
| Static Public Member Functions inherited from SVF::GenericNode< CHNode, CHEdge > | |
| static bool | classof (const GenericNode< CHNode, CHEdge > *) |
| static bool | classof (const SVFValue *) |
Protected Member Functions | |
| size_t | getFlags () const |
| void | setFlags (size_t f) |
Private Attributes | |
| const GlobalObjVar * | vtable |
| std::string | className |
| size_t | flags |
| std::vector< FuncVector > | virtualFunctionVectors |
Friends | |
| class | GraphDBClient |
Additional Inherited Members | |
| Static Protected Member Functions inherited from SVF::SVFValue | |
| static bool | isICFGNodeKinds (GNodeK n) |
| Helper functions to check node kinds. | |
| static bool | isInterICFGNodeKind (GNodeK n) |
| static bool | isSVFVarKind (GNodeK n) |
| static bool | isValVarKinds (GNodeK n) |
| static bool | isConstantDataValVar (GNodeK n) |
| static bool | isObjVarKinds (GNodeK n) |
| static bool | isBaseObjVarKinds (GNodeK n) |
| static bool | isConstantDataObjVarKinds (GNodeK n) |
| static bool | isVFGNodeKinds (GNodeK n) |
| static bool | isArgumentVFGNodeKinds (GNodeK n) |
| static bool | isStmtVFGNodeKinds (GNodeK n) |
| static bool | isPHIVFGNodeKinds (GNodeK n) |
| static bool | isMRSVFGNodeKinds (GNodeK n) |
| static bool | isMSSAPHISVFGNodeKinds (GNodeK n) |
| Protected Attributes inherited from SVF::SVFValue | |
| NodeID | id |
| Node ID. | |
| GNodeK | nodeKind |
| Node kind. | |
| const SVFType * | type |
| SVF type. | |
| std::string | name |
| std::string | sourceLoc |
| Source code information of this value. | |
| typedef std::vector<const FunObjVar*> SVF::CHNode::FuncVector |
|
inline |
Definition at line 171 of file CHG.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlineprotected |
|
inlinevirtual |
Reimplemented from SVF::SVFValue.
| void CHNode::getVirtualFunctions | ( | u32_t | idx, |
| FuncVector & | virtualFunctions ) const |
Definition at line 209 of file CHG.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
private |
|
private |