svf-lib 1.0.2711 → 1.0.2713
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.
|
@@ -249,14 +249,11 @@ inline void removeKey(const NodeID &key, NodeBS &keySet)
|
|
|
249
249
|
/// Function to call when alarm for time limit hits.
|
|
250
250
|
void timeLimitReached(int signum);
|
|
251
251
|
|
|
252
|
-
/// Starts
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
/// Stops an analysis timer. limitTimerSet indicates whether the caller set the
|
|
258
|
-
/// timer or not (return value of startLimitTimer).
|
|
259
|
-
void stopAnalysisLimitTimer(bool limitTimerSet);
|
|
252
|
+
/// Starts analysis timer. timeLimit must be non-0. Timer must not be already set.
|
|
253
|
+
void startAnalysisLimitTimer(unsigned timeLimit);
|
|
254
|
+
|
|
255
|
+
/// Stops analysis timer.
|
|
256
|
+
void stopAnalysisLimitTimer(void);
|
|
260
257
|
|
|
261
258
|
/// Return true if the call is an external call (external library in function summary table)
|
|
262
259
|
/// If the library function is redefined in the application code (e.g., memcpy), it will return false and will not be treated as an external call.
|
|
Binary file
|
|
@@ -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
|