svf-lib 1.0.1475 → 1.0.1476

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.
@@ -179,6 +179,7 @@ public:
179
179
  return lhs;
180
180
  else
181
181
  assert(false && "undefined operation +oo + -oo");
182
+ abort();
182
183
  }
183
184
 
184
185
  friend BoundedZ3Expr operator-(const BoundedZ3Expr &lhs)
@@ -198,6 +199,7 @@ public:
198
199
  return lhs;
199
200
  else
200
201
  assert(false && "undefined operation +oo - +oo");
202
+ abort();
201
203
  }
202
204
 
203
205
  friend BoundedZ3Expr operator*(const BoundedZ3Expr &lhs, const BoundedZ3Expr &rhs)
@@ -225,7 +227,7 @@ public:
225
227
  else
226
228
  // TODO: +oo/-oo L'Hôpital's rule?
227
229
  return eq(lhs, rhs) ? plus_infinity() : minus_infinity();
228
-
230
+ abort();
229
231
  }
230
232
 
231
233
  friend BoundedZ3Expr operator%(const BoundedZ3Expr &lhs, const BoundedZ3Expr &rhs)
@@ -241,6 +243,7 @@ public:
241
243
  else
242
244
  // TODO: +oo/-oo L'Hôpital's rule?
243
245
  return eq(lhs, rhs) ? plus_infinity() : minus_infinity();
246
+ abort();
244
247
  }
245
248
 
246
249
  friend BoundedZ3Expr operator^(const BoundedZ3Expr &lhs, const BoundedZ3Expr &rhs)
@@ -140,6 +140,7 @@ public:
140
140
  else
141
141
  {
142
142
  assert(false && "other literal?");
143
+ abort();
143
144
  }
144
145
  }
145
146
 
@@ -408,7 +408,7 @@ private:
408
408
  cJSON* toJson(const LocationSet& ls);
409
409
  cJSON* toJson(const SVFLoop* loop);
410
410
  cJSON* toJson(const MemObj* memObj);
411
- cJSON* toJson(const ObjTypeInfo* objTypeInfo); // Ensures ownership
411
+ cJSON* toJson(const ObjTypeInfo* objTypeInfo); // Only owned by MemObj
412
412
  cJSON* toJson(const SVFLoopAndDomInfo* ldInfo); // Only owned by SVFFunction
413
413
  cJSON* toJson(const StInfo* type); // Ensure Only owned by SVFType
414
414
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.1475",
3
+ "version": "1.0.1476",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {