Static Value-Flow Analysis
|
#include <WPAStat.h>
Public Member Functions | |
AndersenStat (AndersenBase *p) | |
virtual | ~AndersenStat () |
virtual void | performStat () |
void | collectCycleInfo (ConstraintGraph *consCG) |
void | statNullPtr () |
void | constraintGraphStat () |
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 | printStat (std::string str="") |
virtual void | performStatPerQuery (NodeID) |
virtual void | printStatPerQuery (NodeID, const PointsTo &) |
Public Attributes | |
u32_t | _NumOfNullPtr |
u32_t | _NumOfConstantPtr |
u32_t | _NumOfBlackholePtr |
Public Attributes inherited from SVF::PTAStat | |
NodeBS | localVarInRecursion |
Public Attributes inherited from SVF::SVFStat | |
NUMStatMap | generalNumMap |
NUMStatMap | PTNumStatMap |
TIMEStatMap | timeStatMap |
double | startTime |
double | endTime |
Static Public Attributes | |
static const char * | CollapseTime = "CollapseTime" |
static u32_t | _MaxPtsSize = 0 |
static u32_t | _NumOfCycles = 0 |
static u32_t | _NumOfPWCCycles = 0 |
static u32_t | _NumOfNodesInCycles = 0 |
static u32_t | _MaxNumOfNodesInSCC = 0 |
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 | |
AndersenBase * | pta |
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) |
Protected Attributes inherited from SVF::PTAStat | |
PointerAnalysis * | pta |
u32_t | _vmrssUsageBefore |
u32_t | _vmrssUsageAfter |
u32_t | _vmsizeUsageBefore |
u32_t | _vmsizeUsageAfter |
AndersenStat::AndersenStat | ( | AndersenBase * | p | ) |
Constructor
Definition at line 49 of file AndersenStat.cpp.
|
inlinevirtual |
void AndersenStat::collectCycleInfo | ( | ConstraintGraph * | consCG | ) |
Collect cycle information
Definition at line 60 of file AndersenStat.cpp.
void AndersenStat::constraintGraphStat | ( | ) |
Definition at line 100 of file AndersenStat.cpp.
|
virtual |
Start here
Implements SVF::SVFStat.
Definition at line 264 of file AndersenStat.cpp.
void AndersenStat::statNullPtr | ( | ) |
Stat null pointers
TODO: change the condition here to fetch the points-to set
Definition at line 210 of file AndersenStat.cpp.
|
private |