|
Static Value-Flow Analysis
|
#include <WPAStat.h>
Public Member Functions | |
| VersionedFlowSensitiveStat (VersionedFlowSensitive *pta) | |
| virtual | ~VersionedFlowSensitiveStat () |
| virtual void | performStat () |
| Public Member Functions inherited from SVF::PTAStat | |
| PTAStat (PointerAnalysis *p) | |
| virtual | ~PTAStat () |
| void | setMemUsageBefore (u32_t vmrss, u32_t vmsize) |
| void | setMemUsageAfter (u32_t vmrss, u32_t vmsize) |
| void | callgraphStat () override |
| Public Member Functions inherited from SVF::SVFStat | |
| SVFStat () | |
| virtual | ~SVFStat () |
| virtual void | startClk () |
| virtual void | endClk () |
| virtual void | printStat (std::string str="") |
| virtual void | performStatPerQuery (NodeID) |
| virtual void | printStatPerQuery (NodeID, const PointsTo &) |
Public Attributes | |
| VersionedFlowSensitive * | vfspta |
| Public Attributes inherited from SVF::PTAStat | |
| NodeBS | localVarInRecursion |
| Public Attributes inherited from SVF::SVFStat | |
| NUMStatMap | generalNumMap |
| NUMStatMap | PTNumStatMap |
| TIMEStatMap | timeStatMap |
| double | startTime |
| double | endTime |
Private Member Functions | |
| void | clearStat () |
| void | versionStat (void) |
| For all version-related statistics. | |
| void | ptsSizeStat (void) |
| For all PTS size related statistics not handled by versionStat. | |
Private Attributes | |
| u32_t | _NumVersions |
| Total number of versions across all objects. | |
| u32_t | _MaxVersions |
| Most versions for a single object. | |
| u32_t | _NumUsedVersions |
| Number of version PTSs actually used (sum of next two fields). | |
| u32_t | _NumNonEmptyVersions |
| Number of versions with non-empty points-to sets (since versioning is over-approximate). | |
| u32_t | _NumEmptyVersions |
| Number of versions with empty points-to sets (actually empty, not never-accessed). | |
| u32_t | _NumSingleVersion |
| Number of objects which have a single version. | |
| u32_t | _MaxPtsSize |
| Largest PTS size. | |
| u32_t | _MaxTopLvlPtsSize |
| Max points-to set size in top-level pointers. | |
| u32_t | _MaxVersionPtsSize |
| Max address-taken points-to set size. | |
| u32_t | _TotalPtsSize |
| Total of points-to set sizes for calculating averages. | |
| double | _AvgPtsSize |
| Average size across all points-to sets. | |
| double | _AvgTopLvlPtsSize |
| Average points-to set size for top-level pointers. | |
| double | _AvgVersionPtsSize |
| Average points-to set size for address-taken objects. | |
Additional Inherited Members | |
| Public Types inherited from SVF::SVFStat | |
| enum class | ClockType { Wall , CPU } |
| typedef OrderedMap< std::string, u32_t > | NUMStatMap |
| typedef OrderedMap< std::string, double > | TIMEStatMap |
| Static Public Member Functions inherited from SVF::SVFStat | |
| static double | getClk (bool mark=false) |
| Static Public Attributes inherited from SVF::SVFStat | |
| static bool | printGeneralStats = true |
| SVF's general statistics are only printed once even if you run multiple anayses. | |
| static double | timeOfBuildingLLVMModule = 0 |
| static double | timeOfBuildingSymbolTable = 0 |
| static double | timeOfBuildingSVFIR = 0 |
| Protected Attributes inherited from SVF::PTAStat | |
| PointerAnalysis * | pta |
| u32_t | _vmrssUsageBefore |
| u32_t | _vmrssUsageAfter |
| u32_t | _vmsizeUsageBefore |
| u32_t | _vmsizeUsageAfter |
|
inline |
Definition at line 171 of file WPAStat.h.
|
inlinevirtual |
|
private |
Definition at line 18 of file VersionedFlowSensitiveStat.cpp.
|
virtual |
Reimplemented from SVF::PTAStat.
Definition at line 35 of file VersionedFlowSensitiveStat.cpp.
|
private |
For all PTS size related statistics not handled by versionStat.
Definition at line 196 of file VersionedFlowSensitiveStat.cpp.
|
private |
For all version-related statistics.
Definition at line 152 of file VersionedFlowSensitiveStat.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| VersionedFlowSensitive* SVF::VersionedFlowSensitiveStat::vfspta |