Static Value-Flow Analysis
|
#include <SVFGStat.h>
Public Member Functions | |
MemSSAStat (MemSSA *) | |
virtual | ~MemSSAStat () |
virtual void | performStat () override |
virtual void | printStat (std::string str="") override |
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 | performStat () override |
void | callgraphStat () override |
Public Member Functions inherited from SVF::SVFStat | |
SVFStat () | |
virtual | ~SVFStat () |
virtual void | startClk () |
virtual void | endClk () |
virtual void | performStatPerQuery (NodeID) |
virtual void | printStatPerQuery (NodeID, const PointsTo &) |
Static Public Attributes | |
static const char * | TotalTimeOfConstructMemSSA = "TotalMSSATime" |
Total time for constructing memory SSA. | |
static const char * | TimeOfGeneratingMemRegions = "GenRegionTime" |
Time for allocating regions. | |
static const char * | TimeOfCreateMUCHI = "GenMUCHITime" |
Time for generating mu/chi for load/store/calls. | |
static const char * | TimeOfInsertingPHI = "InsertPHITime" |
Time for inserting phis. | |
static const char * | TimeOfSSARenaming = "SSARenameTime" |
Time for SSA rename. | |
static const char * | NumOfMaxRegion = "MaxRegSize" |
Number of max points-to set in region. | |
static const char * | NumOfAveragePtsInRegion = "AverageRegSize" |
Number of average points-to set in region. | |
static const char * | NumOfMemRegions = "MemRegions" |
Number of memory regions. | |
static const char * | NumOfEntryChi = "FunEntryChi" |
Number of function entry chi. | |
static const char * | NumOfRetMu = "FunRetMu" |
Number of function return mu. | |
static const char * | NumOfCSChi = "CSChiNode" |
Number of call site chi. | |
static const char * | NumOfCSMu = "CSMuNode" |
Number of call site mu. | |
static const char * | NumOfLoadMu = "LoadMuNode" |
Number of load mu. | |
static const char * | NumOfStoreChi = "StoreChiNode" |
Number of store chi. | |
static const char * | NumOfMSSAPhi = "MSSAPhi" |
Number of mssa phi. | |
static const char * | NumOfFunHasEntryChi = "FunHasEntryChi" |
Number of functions which have entry chi. | |
static const char * | NumOfFunHasRetMu = "FunHasRetMu" |
Number of functions which have return mu. | |
static const char * | NumOfCSHasChi = "CSHasChi" |
Number of call sites which have chi. | |
static const char * | NumOfCSHasMu = "CSHasMu" |
Number of call sites which have mu. | |
static const char * | NumOfLoadHasMu = "LoadHasMu" |
Number of loads which have mu. | |
static const char * | NumOfStoreHasChi = "StoreHasChi" |
Number of stores which have chi. | |
static const char * | NumOfBBHasMSSAPhi = "BBHasMSSAPhi" |
Number of basic blocks which have mssa phi. | |
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 |
Private Attributes | |
MemSSA * | mssa |
Additional Inherited Members | |
Public Types inherited from SVF::SVFStat | |
enum | 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) |
Public Attributes inherited from SVF::PTAStat | |
NodeBS | localVarInRecursion |
Public Attributes inherited from SVF::SVFStat | |
NUMStatMap | generalNumMap |
NUMStatMap | PTNumStatMap |
TIMEStatMap | timeStatMap |
double | startTime |
double | endTime |
Protected Attributes inherited from SVF::PTAStat | |
PointerAnalysis * | pta |
u32_t | _vmrssUsageBefore |
u32_t | _vmrssUsageAfter |
u32_t | _vmsizeUsageBefore |
u32_t | _vmsizeUsageAfter |
Definition at line 48 of file SVFGStat.h.
MemSSAStat::MemSSAStat | ( | MemSSA * | memSSA | ) |
Constructor
Definition at line 65 of file SVFGStat.cpp.
|
inlinevirtual |
Definition at line 79 of file SVFGStat.h.
|
overridevirtual |
Start stating
Implements SVF::SVFStat.
Definition at line 74 of file SVFGStat.cpp.
|
overridevirtual |
Print statistics
Reimplemented from SVF::SVFStat.
Definition at line 128 of file SVFGStat.cpp.
|
private |
Definition at line 88 of file SVFGStat.h.
Number of average points-to set in region.
Definition at line 59 of file SVFGStat.h.
Number of basic blocks which have mssa phi.
Definition at line 75 of file SVFGStat.h.
Number of call site chi.
Definition at line 63 of file SVFGStat.h.
Number of call sites which have chi.
Definition at line 71 of file SVFGStat.h.
Number of call sites which have mu.
Definition at line 72 of file SVFGStat.h.
Number of call site mu.
Definition at line 64 of file SVFGStat.h.
Number of function entry chi.
Definition at line 61 of file SVFGStat.h.
Number of functions which have entry chi.
Definition at line 69 of file SVFGStat.h.
Number of functions which have return mu.
Definition at line 70 of file SVFGStat.h.
Number of loads which have mu.
Definition at line 73 of file SVFGStat.h.
Number of load mu.
Definition at line 65 of file SVFGStat.h.
Number of max points-to set in region.
Definition at line 58 of file SVFGStat.h.
Number of memory regions.
Definition at line 60 of file SVFGStat.h.
Number of function return mu.
Definition at line 62 of file SVFGStat.h.
Number of store chi.
Definition at line 66 of file SVFGStat.h.
Number of stores which have chi.
Definition at line 74 of file SVFGStat.h.
Time for generating mu/chi for load/store/calls.
Definition at line 54 of file SVFGStat.h.
Time for allocating regions.
Definition at line 53 of file SVFGStat.h.
Time for inserting phis.
Definition at line 55 of file SVFGStat.h.
Time for SSA rename.
Definition at line 56 of file SVFGStat.h.
Total time for constructing memory SSA.
Definition at line 52 of file SVFGStat.h.