svf-lib 1.0.1159 → 1.0.1160

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.
@@ -240,7 +240,7 @@ PointsTo operator&(const PointsTo &lhs, const PointsTo &rhs);
240
240
  /// Returns a new lhs - rhs.
241
241
  PointsTo operator-(const PointsTo &lhs, const PointsTo &rhs);
242
242
 
243
- };
243
+ } // End namespace SVF
244
244
 
245
245
  template <>
246
246
  struct std::hash<SVF::PointsTo>
@@ -34,6 +34,7 @@
34
34
 
35
35
  namespace SVF
36
36
  {
37
+
37
38
  class SVFLoop
38
39
  {
39
40
  typedef Set<const ICFGEdge *> ICFGEdgeSet;
@@ -158,6 +159,6 @@ public:
158
159
  }
159
160
  };
160
161
 
161
- }
162
+ } // End namespace SVF
162
163
 
163
164
  #endif //SVF_SVFLOOP_H
@@ -24,6 +24,9 @@
24
24
 
25
25
  #include <llvm/Support/SourceMgr.h>
26
26
 
27
+ namespace SVF
28
+ {
29
+
27
30
  typedef llvm::LLVMContext LLVMContext;
28
31
  typedef llvm::GlobalObject GlobalObject;
29
32
  typedef llvm::Use Use;
@@ -127,4 +130,6 @@ typedef llvm::VectorType VectorType;
127
130
  typedef llvm::FunctionCallee FunctionCallee;
128
131
  #endif
129
132
 
133
+ } // End namespace SVF
134
+
130
135
  #endif // SVF_FE_BASIC_TYPES_H
@@ -68,4 +68,5 @@ public:
68
68
  void addFuncToFuncVector(CHNode::FuncVector &v, const SVFFunction *f);
69
69
  };
70
70
 
71
- }
71
+ } // End namespace SVF
72
+
@@ -54,6 +54,6 @@ public:
54
54
  /// Build SVF loops based on llvm loops
55
55
  virtual void buildSVFLoops(ICFG *icfg, std::vector<const Loop *> &llvmLoops);
56
56
  };
57
- } // end fo SVF
57
+ } // End namespace SVF
58
58
 
59
59
  #endif //SVF_LLVMLOOPANALYSIS_H
@@ -92,6 +92,6 @@ public:
92
92
  u32_t getObjSize(const Type* type);
93
93
  };
94
94
 
95
- }
95
+ } // End namespace SVF
96
96
 
97
97
  #endif /* SymbolTableBuilder_H_ */
@@ -209,6 +209,6 @@ struct Hash<CoreBitVector>
209
209
  }
210
210
  };
211
211
 
212
- };
212
+ } // End namespace SVF
213
213
 
214
214
  #endif // COREBITVECTOR_H_
@@ -559,7 +559,7 @@ public:
559
559
  }
560
560
 
561
561
  };
562
- }
562
+ } // End namespace SVF
563
563
 
564
564
  /// Specialise hash for CxtDPItem.
565
565
  template <>
@@ -166,7 +166,7 @@ protected:
166
166
  return locToVal[objId];
167
167
  }
168
168
  };
169
- }
169
+ } // End namespace SVF
170
170
 
171
171
  template<>
172
172
  struct std::hash<SVF::ExeState>
@@ -1203,6 +1203,6 @@ void dump(const SparseBitVector<ElementSize> &LHS, std::ostream &out)
1203
1203
  out << "]\n";
1204
1204
  }
1205
1205
 
1206
- }
1206
+ } // End namespace SVF
1207
1207
 
1208
1208
  #endif // SPARSEBITVECTOR_H
@@ -101,7 +101,7 @@ private:
101
101
  ExeState exeState;
102
102
  AbstractState absState;
103
103
  };
104
- }
104
+ } // End namespace SVF
105
105
 
106
106
  template<>
107
107
  struct std::hash<SVF::SymState>
@@ -302,7 +302,7 @@ public:
302
302
  /// compute OR, used for branch condition
303
303
  static Z3Expr OR(const Z3Expr &lhs, const Z3Expr &rhs);
304
304
  };
305
- }
305
+ } // End namespace SVF
306
306
 
307
307
  /// Specialise hash for AbsCxtDPItem.
308
308
  template<>
@@ -314,4 +314,5 @@ struct std::hash<SVF::Z3Expr>
314
314
  }
315
315
  };
316
316
 
317
- #endif //Z3_EXAMPLE_Z3EXPR_H
317
+ #endif //Z3_EXAMPLE_Z3EXPR_H
318
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.1159",
3
+ "version": "1.0.1160",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {