svf-lib 1.0.2709 → 1.0.2710
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
|
-
///
|
|
361
|
-
///
|
|
362
|
-
NodeBS
|
|
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);
|
|
Binary file
|