svf-lib 1.0.1333 → 1.0.1335
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SVF-linux/include/SVFIR/SVFValue.h +2 -2
- package/SVF-osx/Release-build/lib/libSvf.a +0 -0
- package/SVF-osx/include/Graphs/ConsG.h +1 -1
- package/SVF-osx/include/Graphs/GenericGraph.h +1 -1
- package/SVF-osx/include/Graphs/ICFG.h +1 -1
- package/SVF-osx/include/Graphs/VFG.h +1 -1
- package/SVF-osx/include/MemoryModel/PointerAnalysisImpl.h +1 -2
- package/package.json +1 -1
|
@@ -130,7 +130,7 @@ public:
|
|
|
130
130
|
return reachableBBs;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
inline
|
|
133
|
+
inline void setReachableBBs(BBList& bbs)
|
|
134
134
|
{
|
|
135
135
|
reachableBBs = bbs;
|
|
136
136
|
}
|
|
@@ -1064,7 +1064,7 @@ public:
|
|
|
1064
1064
|
{
|
|
1065
1065
|
return CB->isVarArg();
|
|
1066
1066
|
}
|
|
1067
|
-
|
|
1067
|
+
bool isVirtualCall() const
|
|
1068
1068
|
{
|
|
1069
1069
|
return SVFUtil::isa<SVFVirtualCallInst>(CB);
|
|
1070
1070
|
}
|
|
Binary file
|
|
@@ -45,7 +45,7 @@ class ConstraintGraph : public GenericGraph<ConstraintNode,ConstraintEdge>
|
|
|
45
45
|
{
|
|
46
46
|
|
|
47
47
|
public:
|
|
48
|
-
typedef
|
|
48
|
+
typedef OrderedMap<NodeID, ConstraintNode *> ConstraintNodeIDToNodeMapTy;
|
|
49
49
|
typedef ConstraintEdge::ConstraintEdgeSetTy::iterator ConstraintNodeIter;
|
|
50
50
|
typedef Map<NodeID, NodeID> NodeToRepMap;
|
|
51
51
|
typedef Map<NodeID, NodeBS> NodeToSubsMap;
|
|
@@ -51,7 +51,7 @@ class ICFG : public GenericICFGTy
|
|
|
51
51
|
|
|
52
52
|
public:
|
|
53
53
|
|
|
54
|
-
typedef
|
|
54
|
+
typedef OrderedMap<NodeID, ICFGNode *> ICFGNodeIDToNodeMapTy;
|
|
55
55
|
typedef ICFGEdge::ICFGEdgeSetTy ICFGEdgeSetTy;
|
|
56
56
|
typedef ICFGNodeIDToNodeMapTy::iterator iterator;
|
|
57
57
|
typedef ICFGNodeIDToNodeMapTy::const_iterator const_iterator;
|
|
@@ -57,7 +57,7 @@ public:
|
|
|
57
57
|
FULLSVFG, PTRONLYSVFG, FULLSVFG_OPT, PTRONLYSVFG_OPT
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
typedef
|
|
60
|
+
typedef OrderedMap<NodeID, VFGNode *> VFGNodeIDToNodeMapTy;
|
|
61
61
|
typedef Set<VFGNode*> VFGNodeSet;
|
|
62
62
|
typedef Map<const PAGNode*, NodeID> PAGNodeToDefMapTy;
|
|
63
63
|
typedef Map<std::pair<NodeID,const CallICFGNode*>, ActualParmVFGNode *> PAGNodeToActualParmMapTy;
|
|
@@ -141,9 +141,8 @@ public:
|
|
|
141
141
|
/// Interface for analysis result storage on filesystem.
|
|
142
142
|
//@{
|
|
143
143
|
virtual void writeToFile(const std::string& filename);
|
|
144
|
+
virtual void writeObjVarToFile(const std::string& filename);
|
|
144
145
|
virtual bool readFromFile(const std::string& filename);
|
|
145
|
-
virtual void writeToModule();
|
|
146
|
-
virtual bool readFromModule();
|
|
147
146
|
//@}
|
|
148
147
|
|
|
149
148
|
protected:
|