svf-lib 1.0.2307 → 1.0.2308

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.
@@ -4,14 +4,10 @@
4
4
  #define OPTIONS_H_
5
5
 
6
6
  #include <sstream>
7
- #include "FastCluster/fastcluster.h"
8
7
  #include "Util/CommandLine.h"
9
8
  #include "Util/PTAStat.h"
10
9
  #include "MemoryModel/PointerAnalysisImpl.h"
11
10
  #include "Util/NodeIDAllocator.h"
12
- #include "MSSA/MemSSA.h"
13
- #include "WPA/WPAPass.h"
14
- #include "AE/Svfexe/AbstractInterpretation.h"
15
11
 
16
12
  namespace SVF
17
13
  {
@@ -54,7 +50,7 @@ public:
54
50
  /// TODO: we can separate it into two options, and make Clusterer::cluster take in a method
55
51
  /// argument rather than plugging Options::ClusterMethod *inside* Clusterer::cluster
56
52
  /// directly, but it seems we will always want single anyway, and this is for testing.
57
- static const OptionMap<enum hclust_fast_methods> ClusterMethod;
53
+ static const OptionMap<u32_t> ClusterMethod;
58
54
 
59
55
  /// Cluster partitions separately.
60
56
  static const Option<bool> RegionedClustering;
@@ -143,7 +139,7 @@ public:
143
139
  static const Option<bool> DumpMSSA;
144
140
  static const Option<std::string> MSSAFun;
145
141
  // static const llvm::cl::opt<string> MSSAFun;
146
- static const OptionMap<MemSSA::MemPartition> MemPar;
142
+ static const OptionMap<u32_t> MemPar;
147
143
 
148
144
  // SVFG builder (SVFGBuilder.cpp)
149
145
  static const Option<bool> SVFGWithIndirectCall;
@@ -223,7 +219,7 @@ public:
223
219
  static const Option<bool> SABERFULLSVFG;
224
220
  static const Option<bool> PrintAliases;
225
221
  static OptionMultiple<PointerAnalysis::PTATY> PASelected;
226
- static OptionMultiple<WPAPass::AliasCheckRule> AliasRule;
222
+ static OptionMultiple<u32_t> AliasRule;
227
223
 
228
224
  // DOTGraphTraits
229
225
  static const Option<bool> ShowHiddenNode;
@@ -246,7 +242,7 @@ public:
246
242
  // Abstract Execution
247
243
  static const Option<u32_t> WidenDelay;
248
244
  /// recursion handling mode, Default: TOP
249
- static const OptionMap<AbstractInterpretation::HandleRecur> HandleRecur;
245
+ static const OptionMap<u32_t> HandleRecur;
250
246
  /// the max time consumptions (seconds). Default: 4 hours 14400s
251
247
  static const Option<u32_t> Timeout;
252
248
  /// bug info output file, Default: output.db
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.2307",
3
+ "version": "1.0.2308",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {