svf-lib 1.0.786 → 1.0.790

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 (66) hide show
  1. package/SVF-linux/Release-build/lib/libSvf.a +0 -0
  2. package/SVF-linux/include/DDA/ContextDDA.h +3 -3
  3. package/SVF-linux/include/DDA/DDAClient.h +2 -2
  4. package/SVF-linux/include/DDA/DDAVFSolver.h +2 -2
  5. package/SVF-linux/include/DDA/FlowDDA.h +2 -2
  6. package/SVF-linux/include/Graphs/ICFG.h +32 -32
  7. package/SVF-linux/include/Graphs/ICFGNode.h +33 -33
  8. package/SVF-linux/include/Graphs/ICFGStat.h +11 -11
  9. package/SVF-linux/include/Graphs/PTACallGraph.h +19 -19
  10. package/SVF-linux/include/Graphs/SVFG.h +16 -16
  11. package/SVF-linux/include/Graphs/SVFGNode.h +14 -14
  12. package/SVF-linux/include/Graphs/SVFGOPT.h +1 -1
  13. package/SVF-linux/include/Graphs/ThreadCallGraph.h +25 -25
  14. package/SVF-linux/include/Graphs/VFG.h +10 -10
  15. package/SVF-linux/include/Graphs/VFGNode.h +8 -8
  16. package/SVF-linux/include/MSSA/MSSAMuChi.h +6 -6
  17. package/SVF-linux/include/MSSA/MemRegion.h +24 -24
  18. package/SVF-linux/include/MSSA/MemSSA.h +10 -10
  19. package/SVF-linux/include/MTA/LockResultValidator.h +2 -2
  20. package/SVF-linux/include/MTA/MHP.h +4 -4
  21. package/SVF-linux/include/MTA/PCG.h +1 -1
  22. package/SVF-linux/include/MTA/TCT.h +2 -2
  23. package/SVF-linux/include/MemoryModel/PointerAnalysis.h +12 -12
  24. package/SVF-linux/include/MemoryModel/SVFIR.h +21 -21
  25. package/SVF-linux/include/MemoryModel/SVFStatements.h +11 -11
  26. package/SVF-linux/include/SABER/LeakChecker.h +4 -4
  27. package/SVF-linux/include/SABER/ProgSlice.h +2 -2
  28. package/SVF-linux/include/SABER/SaberCheckerAPI.h +4 -4
  29. package/SVF-linux/include/SABER/SaberSVFGBuilder.h +1 -1
  30. package/SVF-linux/include/SABER/SrcSnkDDA.h +1 -1
  31. package/SVF-linux/include/SVF-FE/ICFGBuilder.h +4 -4
  32. package/SVF-linux/include/SVF-FE/SVFIRBuilder.h +5 -5
  33. package/SVF-osx/Release-build/lib/CUDD/libCudd.a +0 -0
  34. package/SVF-osx/Release-build/lib/libSvf.a +0 -0
  35. package/SVF-osx/include/DDA/ContextDDA.h +3 -3
  36. package/SVF-osx/include/DDA/DDAClient.h +2 -2
  37. package/SVF-osx/include/DDA/DDAVFSolver.h +2 -2
  38. package/SVF-osx/include/DDA/FlowDDA.h +2 -2
  39. package/SVF-osx/include/Graphs/ICFG.h +33 -33
  40. package/SVF-osx/include/Graphs/ICFGNode.h +33 -33
  41. package/SVF-osx/include/Graphs/ICFGStat.h +11 -11
  42. package/SVF-osx/include/Graphs/PTACallGraph.h +19 -19
  43. package/SVF-osx/include/Graphs/SVFG.h +16 -16
  44. package/SVF-osx/include/Graphs/SVFGNode.h +14 -14
  45. package/SVF-osx/include/Graphs/SVFGOPT.h +1 -1
  46. package/SVF-osx/include/Graphs/ThreadCallGraph.h +25 -25
  47. package/SVF-osx/include/Graphs/VFG.h +10 -10
  48. package/SVF-osx/include/Graphs/VFGNode.h +8 -8
  49. package/SVF-osx/include/MSSA/MSSAMuChi.h +6 -6
  50. package/SVF-osx/include/MSSA/MemRegion.h +24 -24
  51. package/SVF-osx/include/MSSA/MemSSA.h +10 -10
  52. package/SVF-osx/include/MTA/LockResultValidator.h +2 -2
  53. package/SVF-osx/include/MTA/MHP.h +4 -4
  54. package/SVF-osx/include/MTA/PCG.h +1 -1
  55. package/SVF-osx/include/MTA/TCT.h +2 -2
  56. package/SVF-osx/include/MemoryModel/PointerAnalysis.h +12 -12
  57. package/SVF-osx/include/MemoryModel/SVFIR.h +21 -21
  58. package/SVF-osx/include/MemoryModel/SVFStatements.h +11 -11
  59. package/SVF-osx/include/SABER/LeakChecker.h +4 -4
  60. package/SVF-osx/include/SABER/ProgSlice.h +2 -2
  61. package/SVF-osx/include/SABER/SaberCheckerAPI.h +4 -4
  62. package/SVF-osx/include/SABER/SaberSVFGBuilder.h +1 -1
  63. package/SVF-osx/include/SABER/SrcSnkDDA.h +1 -1
  64. package/SVF-osx/include/SVF-FE/ICFGBuilder.h +4 -4
  65. package/SVF-osx/include/SVF-FE/SVFIRBuilder.h +5 -5
  66. package/package.json +1 -1
@@ -105,7 +105,7 @@ public:
105
105
  {
106
106
  return getType(SVFUtil::getCallee(inst)) == CK_ALLOC;
107
107
  }
108
- inline bool isMemAlloc(const CallBlockNode* cs) const
108
+ inline bool isMemAlloc(const CallICFGNode* cs) const
109
109
  {
110
110
  return isMemAlloc(cs->getCallSite());
111
111
  }
@@ -121,7 +121,7 @@ public:
121
121
  {
122
122
  return getType(SVFUtil::getCallee(inst)) == CK_FREE;
123
123
  }
124
- inline bool isMemDealloc(const CallBlockNode* cs) const
124
+ inline bool isMemDealloc(const CallICFGNode* cs) const
125
125
  {
126
126
  return isMemDealloc(cs->getCallSite());
127
127
  }
@@ -137,7 +137,7 @@ public:
137
137
  {
138
138
  return getType(SVFUtil::getCallee(inst)) == CK_FOPEN;
139
139
  }
140
- inline bool isFOpen(const CallBlockNode* cs) const
140
+ inline bool isFOpen(const CallICFGNode* cs) const
141
141
  {
142
142
  return isFOpen(cs->getCallSite());
143
143
  }
@@ -153,7 +153,7 @@ public:
153
153
  {
154
154
  return getType(SVFUtil::getCallee(inst)) == CK_FCLOSE;
155
155
  }
156
- inline bool isFClose(const CallBlockNode* cs) const
156
+ inline bool isFClose(const CallICFGNode* cs) const
157
157
  {
158
158
  return isFClose(cs->getCallSite());
159
159
  }
@@ -57,7 +57,7 @@ public:
57
57
  }
58
58
 
59
59
  /// Add ActualParmVFGNode
60
- inline void addActualParmVFGNode(const PAGNode* pagNode, const CallBlockNode* cs)
60
+ inline void addActualParmVFGNode(const PAGNode* pagNode, const CallICFGNode* cs)
61
61
  {
62
62
  svfg->addActualParmVFGNode(pagNode, cs);
63
63
  }
@@ -53,7 +53,7 @@ public:
53
53
  typedef CxtDPItem DPIm;
54
54
  typedef Set<DPIm> DPImSet; ///< dpitem set
55
55
  typedef Map<const SVFGNode*, DPImSet> SVFGNodeToDPItemsMap; ///< map a SVFGNode to its visited dpitems
56
- typedef Set<const CallBlockNode*> CallSiteSet;
56
+ typedef Set<const CallICFGNode*> CallSiteSet;
57
57
  typedef NodeBS SVFGNodeBS;
58
58
  typedef ProgSlice::VFWorkList WorkList;
59
59
 
@@ -69,7 +69,7 @@ private:
69
69
  void connectGlobalToProgEntry(SVFModule* svfModule);
70
70
 
71
71
  /// Add/Get an inter block ICFGNode
72
- InterBlockNode* getOrAddInterBlockICFGNode(const Instruction* inst);
72
+ InterICFGNode* getOrAddInterBlockICFGNode(const Instruction* inst);
73
73
 
74
74
  /// Add/Get a basic block ICFGNode
75
75
  inline ICFGNode* getOrAddBlockICFGNode(const Instruction* inst)
@@ -84,18 +84,18 @@ private:
84
84
  void addICFGInterEdges(const Instruction* cs, const SVFFunction* callee);
85
85
 
86
86
  /// Add a call node
87
- inline CallBlockNode* getOrAddCallICFGNode(const Instruction* cs)
87
+ inline CallICFGNode* getOrAddCallICFGNode(const Instruction* cs)
88
88
  {
89
89
  return icfg->getCallBlockNode(cs);
90
90
  }
91
91
  /// Add a return node
92
- inline RetBlockNode* getOrAddRetICFGNode(const Instruction* cs)
92
+ inline RetICFGNode* getOrAddRetICFGNode(const Instruction* cs)
93
93
  {
94
94
  return icfg->getRetBlockNode(cs);
95
95
  }
96
96
 
97
97
  /// Add and get IntraBlock ICFGNode
98
- IntraBlockNode* getOrAddIntraBlockICFGNode(const Instruction* inst)
98
+ IntraICFGNode* getOrAddIntraBlockICFGNode(const Instruction* inst)
99
99
  {
100
100
  return icfg->getIntraBlockNode(inst);
101
101
  }
@@ -343,7 +343,7 @@ public:
343
343
  /// Add Store edge
344
344
  inline StoreStmt* addStoreEdge(NodeID src, NodeID dst)
345
345
  {
346
- IntraBlockNode* node;
346
+ IntraICFGNode* node;
347
347
  if(const Instruction* inst = SVFUtil::dyn_cast<Instruction>(curVal))
348
348
  node = pag->getICFG()->getIntraBlockNode(inst);
349
349
  else
@@ -353,14 +353,14 @@ public:
353
353
  return edge;
354
354
  }
355
355
  /// Add Call edge
356
- inline CallPE* addCallEdge(NodeID src, NodeID dst, const CallBlockNode* cs)
356
+ inline CallPE* addCallEdge(NodeID src, NodeID dst, const CallICFGNode* cs)
357
357
  {
358
358
  CallPE *edge = pag->addCallPE(src, dst, cs);
359
359
  setCurrentBBAndValueForPAGEdge(edge);
360
360
  return edge;
361
361
  }
362
362
  /// Add Return edge
363
- inline RetPE* addRetEdge(NodeID src, NodeID dst, const CallBlockNode* cs)
363
+ inline RetPE* addRetEdge(NodeID src, NodeID dst, const CallICFGNode* cs)
364
364
  {
365
365
  RetPE *edge = pag->addRetPE(src, dst, cs);
366
366
  setCurrentBBAndValueForPAGEdge(edge);
@@ -388,14 +388,14 @@ public:
388
388
  return edge;
389
389
  }
390
390
  /// Add Thread fork edge for parameter passing
391
- inline TDForkPE* addThreadForkEdge(NodeID src, NodeID dst, const CallBlockNode* cs)
391
+ inline TDForkPE* addThreadForkEdge(NodeID src, NodeID dst, const CallICFGNode* cs)
392
392
  {
393
393
  TDForkPE *edge = pag->addThreadForkPE(src, dst, cs);
394
394
  setCurrentBBAndValueForPAGEdge(edge);
395
395
  return edge;
396
396
  }
397
397
  /// Add Thread join edge for parameter passing
398
- inline TDJoinPE* addThreadJoinEdge(NodeID src, NodeID dst, const CallBlockNode* cs)
398
+ inline TDJoinPE* addThreadJoinEdge(NodeID src, NodeID dst, const CallICFGNode* cs)
399
399
  {
400
400
  TDJoinPE *edge = pag->addThreadJoinPE(src, dst, cs);
401
401
  setCurrentBBAndValueForPAGEdge(edge);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.786",
3
+ "version": "1.0.790",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {