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.
@@ -130,7 +130,7 @@ public:
130
130
  return reachableBBs;
131
131
  }
132
132
 
133
- inline const void setReachableBBs(BBList& bbs)
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
- const bool isVirtualCall() const
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 Map<NodeID, ConstraintNode *> ConstraintNodeIDToNodeMapTy;
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;
@@ -339,7 +339,7 @@ public:
339
339
  typedef NodeTy NodeType;
340
340
  typedef EdgeTy EdgeType;
341
341
  /// NodeID to GenericNode map
342
- typedef Map<NodeID, NodeType*> IDToNodeMapTy;
342
+ typedef OrderedMap<NodeID, NodeType*> IDToNodeMapTy;
343
343
 
344
344
  /// Node Iterators
345
345
  //@{
@@ -51,7 +51,7 @@ class ICFG : public GenericICFGTy
51
51
 
52
52
  public:
53
53
 
54
- typedef Map<NodeID, ICFGNode *> ICFGNodeIDToNodeMapTy;
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 Map<NodeID, VFGNode *> VFGNodeIDToNodeMapTy;
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:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.1333",
3
+ "version": "1.0.1335",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {