svf-lib 1.0.2711 → 1.0.2712

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.
@@ -43,6 +43,8 @@
43
43
  #include "Util/GeneralType.h"
44
44
  #include "Util/Options.h"
45
45
 
46
+ #include <optional>
47
+
46
48
  namespace SVF
47
49
  {
48
50
 
@@ -357,9 +359,9 @@ protected:
357
359
  /// SCC detection
358
360
  virtual NodeStack& SCCDetect();
359
361
 
360
- /// Collect may-alias candidates. Attempts to do so from reverse points-to sets (cheaper),
361
- /// and if not possible, falls back to trying every node (costlier).
362
- NodeBS getMayAliasCandidates(NodeID node);
362
+ /// Answer a may-alias query from the reverse points-to sets. Returns nullopt
363
+ /// when those sets cannot answer it, leaving the caller to try every node.
364
+ std::optional<NodeBS> collectMayAliasesFromIndex(const PointsTo& expandedPts);
363
365
 
364
366
  /// Also check getMayAliases on the pointers that the alias tests use
365
367
  virtual void validateSuccessTests(std::string fun);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.2711",
3
+ "version": "1.0.2712",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {