svf-lib 1.0.2213 → 1.0.2215

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.
Files changed (72) hide show
  1. package/SVF-linux/Release-build/bin/ae +0 -0
  2. package/SVF-linux/Release-build/bin/cfl +0 -0
  3. package/SVF-linux/Release-build/bin/dvf +0 -0
  4. package/SVF-linux/Release-build/bin/llvm2svf +0 -0
  5. package/SVF-linux/Release-build/bin/mta +0 -0
  6. package/SVF-linux/Release-build/bin/saber +0 -0
  7. package/SVF-linux/Release-build/bin/svf-ex +0 -0
  8. package/SVF-linux/Release-build/bin/wpa +0 -0
  9. package/SVF-linux/Release-build/include/DDA/DDAClient.h +6 -11
  10. package/SVF-linux/Release-build/include/DDA/DDAPass.h +1 -1
  11. package/SVF-linux/Release-build/include/Graphs/CHG.h +2 -3
  12. package/SVF-linux/Release-build/include/Graphs/GenericGraph.h +1 -286
  13. package/SVF-linux/Release-build/include/MTA/MTA.h +2 -2
  14. package/SVF-linux/Release-build/include/MTA/TCT.h +0 -6
  15. package/SVF-linux/Release-build/include/MemoryModel/PointerAnalysis.h +1 -7
  16. package/SVF-linux/Release-build/include/SABER/DoubleFreeChecker.h +1 -1
  17. package/SVF-linux/Release-build/include/SABER/FileChecker.h +1 -1
  18. package/SVF-linux/Release-build/include/SABER/LeakChecker.h +1 -1
  19. package/SVF-linux/Release-build/include/SABER/SaberCondAllocator.h +1 -2
  20. package/SVF-linux/Release-build/include/SABER/SrcSnkDDA.h +2 -2
  21. package/SVF-linux/Release-build/include/SVF-LLVM/BreakConstantExpr.h +1 -1
  22. package/SVF-linux/Release-build/include/SVF-LLVM/CppUtil.h +1 -1
  23. package/SVF-linux/Release-build/include/SVF-LLVM/DCHG.h +1 -1
  24. package/SVF-linux/Release-build/include/SVF-LLVM/LLVMLoopAnalysis.h +1 -1
  25. package/SVF-linux/Release-build/include/SVF-LLVM/LLVMModule.h +2 -2
  26. package/SVF-linux/Release-build/include/SVF-LLVM/LLVMUtil.h +1 -1
  27. package/SVF-linux/Release-build/include/SVF-LLVM/ObjTypeInference.h +1 -1
  28. package/SVF-linux/Release-build/include/{SVFIR → SVF-LLVM}/SVFModule.h +1 -36
  29. package/SVF-linux/Release-build/include/SVFIR/ObjTypeInfo.h +0 -1
  30. package/SVF-linux/Release-build/include/SVFIR/SVFIR.h +38 -11
  31. package/SVF-linux/Release-build/include/SVFIR/SVFStatements.h +1 -0
  32. package/SVF-linux/Release-build/include/SVFIR/SVFValue.h +202 -799
  33. package/SVF-linux/Release-build/include/Util/CDGBuilder.h +1 -1
  34. package/SVF-linux/Release-build/include/Util/GeneralType.h +1 -0
  35. package/SVF-linux/Release-build/include/Util/SVFLoopAndDomInfo.h +169 -0
  36. package/SVF-linux/Release-build/include/Util/SVFUtil.h +3 -1
  37. package/SVF-linux/Release-build/include/Util/ThreadAPI.h +2 -1
  38. package/SVF-linux/Release-build/include/WPA/FlowSensitive.h +1 -1
  39. package/SVF-linux/Release-build/lib/libSvfCore.a +0 -0
  40. package/SVF-linux/Release-build/lib/libSvfLLVM.a +0 -0
  41. package/SVF-osx/Release-build/bin/ae +0 -0
  42. package/SVF-osx/Release-build/bin/cfl +0 -0
  43. package/SVF-osx/Release-build/bin/dvf +0 -0
  44. package/SVF-osx/Release-build/bin/llvm2svf +0 -0
  45. package/SVF-osx/Release-build/bin/mta +0 -0
  46. package/SVF-osx/Release-build/bin/saber +0 -0
  47. package/SVF-osx/Release-build/bin/svf-ex +0 -0
  48. package/SVF-osx/Release-build/bin/wpa +0 -0
  49. package/SVF-osx/Release-build/include/Graphs/BasicBlockG.h +2 -2
  50. package/SVF-osx/Release-build/include/Graphs/CDG.h +1 -1
  51. package/SVF-osx/Release-build/include/Graphs/CFLGraph.h +1 -1
  52. package/SVF-osx/Release-build/include/Graphs/CHG.h +1 -1
  53. package/SVF-osx/Release-build/include/Graphs/CallGraph.h +1 -1
  54. package/SVF-osx/Release-build/include/Graphs/ConsGNode.h +1 -1
  55. package/SVF-osx/Release-build/include/Graphs/GenericGraph.h +3 -3
  56. package/SVF-osx/Release-build/include/Graphs/ICFGNode.h +6 -6
  57. package/SVF-osx/Release-build/include/Graphs/VFGNode.h +20 -20
  58. package/SVF-osx/Release-build/include/MTA/TCT.h +1 -1
  59. package/SVF-osx/Release-build/include/SVF-LLVM/BreakConstantExpr.h +1 -1
  60. package/SVF-osx/Release-build/include/SVF-LLVM/CppUtil.h +1 -1
  61. package/SVF-osx/Release-build/include/SVF-LLVM/LLVMModule.h +12 -12
  62. package/SVF-osx/Release-build/include/SVF-LLVM/LLVMUtil.h +2 -2
  63. package/SVF-osx/Release-build/include/SVF-LLVM/ObjTypeInference.h +1 -1
  64. package/SVF-osx/Release-build/include/SVF-LLVM/SVFIRBuilder.h +6 -6
  65. package/SVF-osx/Release-build/include/SVF-LLVM/SVFLLVMValue.h +805 -0
  66. package/SVF-osx/Release-build/include/SVF-LLVM/SVFModule.h +1 -1
  67. package/SVF-osx/Release-build/include/SVFIR/SVFValue.h +2 -2
  68. package/SVF-osx/Release-build/include/SVFIR/SVFVariables.h +28 -28
  69. package/SVF-osx/Release-build/lib/libSvfCore.a +0 -0
  70. package/SVF-osx/Release-build/lib/libSvfLLVM.a +0 -0
  71. package/package.json +1 -1
  72. /package/{SVF-osx → SVF-linux}/Release-build/include/SVF-LLVM/SVFValue.h +0 -0
@@ -30,7 +30,7 @@
30
30
  #ifndef INCLUDE_SVFMODULE_H_
31
31
  #define INCLUDE_SVFMODULE_H_
32
32
 
33
- #include "SVF-LLVM/SVFValue.h"
33
+ #include "SVF-LLVM/SVFLLVMValue.h"
34
34
  #include "Util/NodeIDAllocator.h"
35
35
  #include "Util/ThreadAPI.h"
36
36
 
@@ -38,7 +38,7 @@ namespace SVF
38
38
  {
39
39
 
40
40
 
41
- class SVFBaseNode
41
+ class SVFValue
42
42
  {
43
43
 
44
44
  public:
@@ -149,7 +149,7 @@ public:
149
149
  };
150
150
 
151
151
 
152
- SVFBaseNode(NodeID i, GNodeK k, const SVFType* ty = nullptr): id(i),nodeKind(k), type(ty)
152
+ SVFValue(NodeID i, GNodeK k, const SVFType* ty = nullptr): id(i),nodeKind(k), type(ty)
153
153
  {
154
154
 
155
155
  }
@@ -177,7 +177,7 @@ public:
177
177
  return isSVFVarKind(node->getNodeKind());
178
178
  }
179
179
 
180
- static inline bool classof(const SVFBaseNode* node)
180
+ static inline bool classof(const SVFValue* node)
181
181
  {
182
182
  return isSVFVarKind(node->getNodeKind());
183
183
  }
@@ -270,7 +270,7 @@ public:
270
270
  {
271
271
  return isValVarKinds(node->getNodeKind());
272
272
  }
273
- static inline bool classof(const SVFBaseNode* node)
273
+ static inline bool classof(const SVFValue* node)
274
274
  {
275
275
  return isValVarKinds(node->getNodeKind());
276
276
  }
@@ -328,7 +328,7 @@ public:
328
328
  {
329
329
  return isObjVarKinds(node->getNodeKind());
330
330
  }
331
- static inline bool classof(const SVFBaseNode* node)
331
+ static inline bool classof(const SVFValue* node)
332
332
  {
333
333
  return isObjVarKinds(node->getNodeKind());
334
334
  }
@@ -382,7 +382,7 @@ public:
382
382
  {
383
383
  return node->getNodeKind() == ArgValNode;
384
384
  }
385
- static inline bool classof(const SVFBaseNode* node)
385
+ static inline bool classof(const SVFValue* node)
386
386
  {
387
387
  return node->getNodeKind() == ArgValNode;
388
388
  }
@@ -454,7 +454,7 @@ public:
454
454
  {
455
455
  return node->getNodeKind() == SVFVar::GepValNode;
456
456
  }
457
- static inline bool classof(const SVFBaseNode* node)
457
+ static inline bool classof(const SVFValue* node)
458
458
  {
459
459
  return node->getNodeKind() == SVFVar::GepValNode;
460
460
  }
@@ -551,7 +551,7 @@ public:
551
551
  {
552
552
  return isBaseObjVarKinds(node->getNodeKind());
553
553
  }
554
- static inline bool classof(const SVFBaseNode* node)
554
+ static inline bool classof(const SVFValue* node)
555
555
  {
556
556
  return isBaseObjVarKinds(node->getNodeKind());
557
557
  }
@@ -754,7 +754,7 @@ public:
754
754
  {
755
755
  return node->getNodeKind() == SVFVar::GepObjNode;
756
756
  }
757
- static inline bool classof(const SVFBaseNode* node)
757
+ static inline bool classof(const SVFValue* node)
758
758
  {
759
759
  return node->getNodeKind() == SVFVar::GepObjNode;
760
760
  }
@@ -863,7 +863,7 @@ public:
863
863
  {
864
864
  return node->getNodeKind() == HeapObjNode;
865
865
  }
866
- static inline bool classof(const SVFBaseNode* node)
866
+ static inline bool classof(const SVFValue* node)
867
867
  {
868
868
  return node->getNodeKind() == HeapObjNode;
869
869
  }
@@ -926,7 +926,7 @@ public:
926
926
  {
927
927
  return node->getNodeKind() == StackObjNode;
928
928
  }
929
- static inline bool classof(const SVFBaseNode* node)
929
+ static inline bool classof(const SVFValue* node)
930
930
  {
931
931
  return node->getNodeKind() == StackObjNode;
932
932
  }
@@ -1006,7 +1006,7 @@ public:
1006
1006
  {
1007
1007
  return node->getNodeKind() == FunObjNode;
1008
1008
  }
1009
- static inline bool classof(const SVFBaseNode* node)
1009
+ static inline bool classof(const SVFValue* node)
1010
1010
  {
1011
1011
  return node->getNodeKind() == FunObjNode;
1012
1012
  }
@@ -1245,7 +1245,7 @@ public:
1245
1245
  {
1246
1246
  return node->getNodeKind() == FunValNode;
1247
1247
  }
1248
- static inline bool classof(const SVFBaseNode* node)
1248
+ static inline bool classof(const SVFValue* node)
1249
1249
  {
1250
1250
  return node->getNodeKind() == FunValNode;
1251
1251
  }
@@ -1294,7 +1294,7 @@ public:
1294
1294
  {
1295
1295
  return node->getNodeKind() == GlobalValNode;
1296
1296
  }
1297
- static inline bool classof(const SVFBaseNode* node)
1297
+ static inline bool classof(const SVFValue* node)
1298
1298
  {
1299
1299
  return node->getNodeKind() == GlobalValNode;
1300
1300
  }
@@ -1335,7 +1335,7 @@ public:
1335
1335
  {
1336
1336
  return node->getNodeKind() == ConstAggValNode;
1337
1337
  }
1338
- static inline bool classof(const SVFBaseNode* node)
1338
+ static inline bool classof(const SVFValue* node)
1339
1339
  {
1340
1340
  return node->getNodeKind() == ConstAggValNode;
1341
1341
  }
@@ -1387,7 +1387,7 @@ public:
1387
1387
  {
1388
1388
  return isConstantDataValVar(node->getNodeKind());
1389
1389
  }
1390
- static inline bool classof(const SVFBaseNode* node)
1390
+ static inline bool classof(const SVFValue* node)
1391
1391
  {
1392
1392
  return isConstantDataValVar(node->getNodeKind());
1393
1393
  }
@@ -1442,7 +1442,7 @@ public:
1442
1442
  {
1443
1443
  return node->getNodeKind() == BlackHoleValNode;
1444
1444
  }
1445
- static inline bool classof(const SVFBaseNode* node)
1445
+ static inline bool classof(const SVFValue* node)
1446
1446
  {
1447
1447
  return node->getNodeKind() == BlackHoleValNode;
1448
1448
  }
@@ -1496,7 +1496,7 @@ public:
1496
1496
  {
1497
1497
  return node->getNodeKind() == ConstFPValNode;
1498
1498
  }
1499
- static inline bool classof(const SVFBaseNode* node)
1499
+ static inline bool classof(const SVFValue* node)
1500
1500
  {
1501
1501
  return node->getNodeKind() == ConstFPValNode;
1502
1502
  }
@@ -1548,7 +1548,7 @@ public:
1548
1548
  {
1549
1549
  return node->getNodeKind() == ConstIntValNode;
1550
1550
  }
1551
- static inline bool classof(const SVFBaseNode* node)
1551
+ static inline bool classof(const SVFValue* node)
1552
1552
  {
1553
1553
  return node->getNodeKind() == ConstIntValNode;
1554
1554
  }
@@ -1602,7 +1602,7 @@ public:
1602
1602
  {
1603
1603
  return node->getNodeKind() == ConstNullptrValNode;
1604
1604
  }
1605
- static inline bool classof(const SVFBaseNode* node)
1605
+ static inline bool classof(const SVFValue* node)
1606
1606
  {
1607
1607
  return node->getNodeKind() == ConstNullptrValNode;
1608
1608
  }
@@ -1655,7 +1655,7 @@ public:
1655
1655
  {
1656
1656
  return node->getNodeKind() == GlobalObjNode;
1657
1657
  }
1658
- static inline bool classof(const SVFBaseNode* node)
1658
+ static inline bool classof(const SVFValue* node)
1659
1659
  {
1660
1660
  return node->getNodeKind() == GlobalObjNode;
1661
1661
  }
@@ -1701,7 +1701,7 @@ public:
1701
1701
  {
1702
1702
  return node->getNodeKind() == ConstAggObjNode;
1703
1703
  }
1704
- static inline bool classof(const SVFBaseNode* node)
1704
+ static inline bool classof(const SVFValue* node)
1705
1705
  {
1706
1706
  return node->getNodeKind() == ConstAggObjNode;
1707
1707
  }
@@ -1759,7 +1759,7 @@ public:
1759
1759
  return isConstantDataObjVarKinds(node->getNodeKind());
1760
1760
  }
1761
1761
 
1762
- static inline bool classof(const SVFBaseNode* node)
1762
+ static inline bool classof(const SVFValue* node)
1763
1763
  {
1764
1764
  return isConstantDataObjVarKinds(node->getNodeKind());
1765
1765
  }
@@ -1826,7 +1826,7 @@ public:
1826
1826
  return node->getNodeKind() == SVFVar::ConstFPObjNode;
1827
1827
  }
1828
1828
 
1829
- static inline bool classof(const SVFBaseNode* node)
1829
+ static inline bool classof(const SVFValue* node)
1830
1830
  {
1831
1831
  return node->getNodeKind() == SVFVar::ConstFPObjNode;
1832
1832
  }
@@ -1890,7 +1890,7 @@ public:
1890
1890
  return node->getNodeKind() == SVFVar::ConstIntObjNode;
1891
1891
  }
1892
1892
 
1893
- static inline bool classof(const SVFBaseNode* node)
1893
+ static inline bool classof(const SVFValue* node)
1894
1894
  {
1895
1895
  return node->getNodeKind() == SVFVar::ConstIntObjNode;
1896
1896
  }
@@ -1956,7 +1956,7 @@ public:
1956
1956
  return node->getNodeKind() == SVFVar::ConstNullptrObjNode;
1957
1957
  }
1958
1958
 
1959
- static inline bool classof(const SVFBaseNode* node)
1959
+ static inline bool classof(const SVFValue* node)
1960
1960
  {
1961
1961
  return node->getNodeKind() == SVFVar::ConstNullptrObjNode;
1962
1962
  }
@@ -2005,7 +2005,7 @@ public:
2005
2005
  {
2006
2006
  return node->getNodeKind() == SVFVar::RetValNode;
2007
2007
  }
2008
- static inline bool classof(const SVFBaseNode* node)
2008
+ static inline bool classof(const SVFValue* node)
2009
2009
  {
2010
2010
  return node->getNodeKind() == SVFVar::RetValNode;
2011
2011
  }
@@ -2062,7 +2062,7 @@ public:
2062
2062
  {
2063
2063
  return node->getNodeKind() == SVFVar::VarargValNode;
2064
2064
  }
2065
- static inline bool classof(const SVFBaseNode* node)
2065
+ static inline bool classof(const SVFValue* node)
2066
2066
  {
2067
2067
  return node->getNodeKind() == SVFVar::VarargValNode;
2068
2068
  }
@@ -2112,7 +2112,7 @@ public:
2112
2112
  {
2113
2113
  return node->getNodeKind() == SVFVar::DummyValNode;
2114
2114
  }
2115
- static inline bool classof(const SVFBaseNode* node)
2115
+ static inline bool classof(const SVFValue* node)
2116
2116
  {
2117
2117
  return node->getNodeKind() == SVFVar::DummyValNode;
2118
2118
  }
@@ -2173,7 +2173,7 @@ public:
2173
2173
  return node->getNodeKind() == SVFVar::DummyObjNode;
2174
2174
  }
2175
2175
 
2176
- static inline bool classof(const SVFBaseNode* node)
2176
+ static inline bool classof(const SVFValue* node)
2177
2177
  {
2178
2178
  return node->getNodeKind() == SVFVar::DummyObjNode;
2179
2179
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.2213",
3
+ "version": "1.0.2215",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {