svf-lib 1.0.2663 → 1.0.2664

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.
Binary file
@@ -707,12 +707,6 @@ private:
707
707
  return addNode(node);
708
708
  }
709
709
 
710
- inline NodeID addConstantAggValNode(const NodeID i, const ICFGNode* icfgNode, const SVFType* svfType)
711
- {
712
- SVFVar* node = new ConstAggValVar(i, icfgNode, svfType);
713
- return addNode(node);
714
- }
715
-
716
710
  inline NodeID addConstantDataValNode(const NodeID i, const ICFGNode* icfgNode, const SVFType* type)
717
711
  {
718
712
  SVFVar* node = new ConstDataValVar(i, icfgNode, type);
@@ -777,11 +771,6 @@ private:
777
771
  GlobalObjVar* gObj = new GlobalObjVar(i, ti, node);
778
772
  return addBaseObjNode(gObj);
779
773
  }
780
- inline NodeID addConstantAggObjNode(const NodeID i, ObjTypeInfo* ti, const ICFGNode* node)
781
- {
782
- ConstAggObjVar* conObj = new ConstAggObjVar(i, ti, node);
783
- return addBaseObjNode(conObj);
784
- }
785
774
  inline NodeID addConstantDataObjNode(const NodeID i, ObjTypeInfo* ti, const ICFGNode* node)
786
775
  {
787
776
  ConstDataObjVar* conObj = new ConstDataObjVar(i, ti, node);
@@ -70,7 +70,6 @@ public:
70
70
  RetValNode, // ├── Represents a return value node
71
71
  VarargValNode, // ├── Represents a variadic argument node
72
72
  GlobalValNode, // ├── Represents a global variable node
73
- ConstAggValNode, // ├── Represents a constant aggregate value node
74
73
  // │ └─ Subclass: ConstDataValVar
75
74
  ConstDataValNode, // │ ├── Represents a constant data variable
76
75
  BlackHoleValNode, // │ ├── Represents a black hole node
@@ -92,7 +91,6 @@ public:
92
91
  HeapObjNode, // │ ├── Represents a heap object
93
92
  StackObjNode, // │ ├── Represents a stack object
94
93
  GlobalObjNode, // │ ├── Represents a global object
95
- ConstAggObjNode, // │ ├── Represents a constant aggregate object
96
94
  // │ └─ Subclass: ConstDataObjVar
97
95
  ConstDataObjNode, // │ ├── Represents a constant data object
98
96
  ConstFPObjNode, // │ ├── Represents a constant floating-point object
@@ -230,7 +228,7 @@ protected:
230
228
 
231
229
  static inline bool isSVFVarKind(GNodeK n)
232
230
  {
233
- static_assert(DummyObjNode - ValNode == 28,
231
+ static_assert(DummyObjNode - ValNode == 26,
234
232
  "The number of SVFVarKinds has changed, make sure the "
235
233
  "range is correct");
236
234
 
@@ -239,7 +237,7 @@ protected:
239
237
 
240
238
  static inline bool isValVarKinds(GNodeK n)
241
239
  {
242
- static_assert(AsmPCValNode - ValNode == 15,
240
+ static_assert(AsmPCValNode - ValNode == 14,
243
241
  "The number of ValVarKinds has changed, make sure the "
244
242
  "range is correct");
245
243
  return n <= AsmPCValNode && n >= ValNode;
@@ -256,7 +254,7 @@ protected:
256
254
 
257
255
  static inline bool isObjVarKinds(GNodeK n)
258
256
  {
259
- static_assert(DummyObjNode - ObjNode == 12,
257
+ static_assert(DummyObjNode - ObjNode == 11,
260
258
  "The number of ObjVarKinds has changed, make sure the "
261
259
  "range is correct");
262
260
  return n <= DummyObjNode && n >= ObjNode;
@@ -264,7 +262,7 @@ protected:
264
262
 
265
263
  static inline bool isBaseObjVarKinds(GNodeK n)
266
264
  {
267
- static_assert(DummyObjNode - BaseObjNode == 10,
265
+ static_assert(DummyObjNode - BaseObjNode == 9,
268
266
  "The number of BaseObjVarKinds has changed, make sure the "
269
267
  "range is correct");
270
268
  return n <= DummyObjNode && n >= BaseObjNode;
@@ -1367,58 +1367,6 @@ public:
1367
1367
  virtual const std::string toString() const;
1368
1368
  };
1369
1369
 
1370
- class ConstAggValVar: public ValVar
1371
- {
1372
- friend class GraphDBClient;
1373
-
1374
-
1375
- public:
1376
- /// Methods for support type inquiry through isa, cast, and dyn_cast:
1377
- //@{
1378
- static inline bool classof(const ConstAggValVar*)
1379
- {
1380
- return true;
1381
- }
1382
- static inline bool classof(const ValVar* node)
1383
- {
1384
- return node->getNodeKind() == ConstAggValNode;
1385
- }
1386
- static inline bool classof(const SVFVar* node)
1387
- {
1388
- return node->getNodeKind() == ConstAggValNode;
1389
- }
1390
- static inline bool classof(const GenericPAGNodeTy* node)
1391
- {
1392
- return node->getNodeKind() == ConstAggValNode;
1393
- }
1394
- static inline bool classof(const SVFValue* node)
1395
- {
1396
- return node->getNodeKind() == ConstAggValNode;
1397
- }
1398
- //@}
1399
-
1400
- /// Constructor
1401
- ConstAggValVar(NodeID i, const ICFGNode* icn, const SVFType* svfTy)
1402
- : ValVar(i, svfTy, icn, ConstAggValNode)
1403
- {
1404
- type = svfTy;
1405
- }
1406
-
1407
-
1408
- virtual bool isConstDataOrAggData() const
1409
- {
1410
- return true;
1411
- }
1412
-
1413
- virtual bool isConstDataOrAggDataButNotNullPtr() const
1414
- {
1415
- return true;
1416
- }
1417
-
1418
- virtual const std::string toString() const;
1419
- };
1420
-
1421
-
1422
1370
  class ConstDataValVar : public ValVar
1423
1371
  {
1424
1372
  friend class GraphDBClient;
@@ -1725,61 +1673,6 @@ public:
1725
1673
  virtual const std::string toString() const;
1726
1674
  };
1727
1675
 
1728
- class ConstAggObjVar : public BaseObjVar
1729
- {
1730
- friend class GraphDBClient;
1731
-
1732
-
1733
- public:
1734
- /// Methods for support type inquiry through isa, cast, and dyn_cast:
1735
- //@{
1736
- static inline bool classof(const ConstAggObjVar*)
1737
- {
1738
- return true;
1739
- }
1740
- static inline bool classof(const BaseObjVar* node)
1741
- {
1742
- return node->getNodeKind() == ConstAggObjNode;
1743
- }
1744
-
1745
- static inline bool classof(const ObjVar* node)
1746
- {
1747
- return node->getNodeKind() == ConstAggObjNode;
1748
- }
1749
- static inline bool classof(const SVFVar* node)
1750
- {
1751
- return node->getNodeKind() == ConstAggObjNode;
1752
- }
1753
- static inline bool classof(const GenericPAGNodeTy* node)
1754
- {
1755
- return node->getNodeKind() == ConstAggObjNode;
1756
- }
1757
- static inline bool classof(const SVFValue* node)
1758
- {
1759
- return node->getNodeKind() == ConstAggObjNode;
1760
- }
1761
- //@}
1762
-
1763
- /// Constructor
1764
- ConstAggObjVar(NodeID i, ObjTypeInfo* ti, const ICFGNode* node)
1765
- : BaseObjVar(i, ti, node, ConstAggObjNode)
1766
- {
1767
-
1768
- }
1769
-
1770
- virtual bool isConstDataOrAggData() const
1771
- {
1772
- return true;
1773
- }
1774
-
1775
- virtual bool isConstDataOrAggDataButNotNullPtr() const
1776
- {
1777
- return true;
1778
- }
1779
-
1780
- virtual const std::string toString() const;
1781
- };
1782
-
1783
1676
  class ConstDataObjVar : public BaseObjVar
1784
1677
  {
1785
1678
  friend class GraphDBClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.2663",
3
+ "version": "1.0.2664",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {