svf-lib 1.0.1615 → 1.0.1617

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.
@@ -69,6 +69,12 @@ public:
69
69
  /// Andersen analysis
70
70
  virtual void analyze() override;
71
71
 
72
+ virtual void solveAndwritePtsToFile(const std::string& filename);
73
+
74
+ virtual void readPtsFromFile(const std::string& filename);
75
+
76
+ virtual void solveConstraints();
77
+
72
78
  /// Initialize analysis
73
79
  virtual void initialize() override;
74
80
 
@@ -101,6 +101,12 @@ public:
101
101
  /// Flow sensitive analysis
102
102
  void analyze() override;
103
103
 
104
+ virtual void solveAndwritePtsToFile(const std::string& filename);
105
+
106
+ virtual void readPtsFromFile(const std::string& filename);
107
+
108
+ virtual void solveConstraints();
109
+
104
110
  /// Initialize analysis
105
111
  void initialize() override;
106
112
 
@@ -62,7 +62,7 @@ protected:
62
62
  bool fromFile; ///< Whether the SVFIR is built according to user specified data from a txt file
63
63
  NodeID nodeNumAfterPAGBuild; ///< initial node number after building SVFIR, excluding later added nodes, e.g., gepobj nodes
64
64
  u32_t totalPTAPAGEdge;
65
- ValueToEdgeMap valueToEdgeMap; ///< Map llvm::Values to all corresponding PAGEdges
65
+ ValueToEdgeMap valueToEdgeMap; ///< Map SVFValues (e.g., SVFInstruction) to all corresponding PAGEdges
66
66
  SymbolTableInfo* symInfo;
67
67
 
68
68
  /// Add a node into the graph
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.1615",
3
+ "version": "1.0.1617",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {