|
Static Value-Flow Analysis
|
#include <WPAStat.h>
Public Types | |
| typedef FlowSensitive::DFInOutMap | DFInOutMap |
| typedef FlowSensitive::PtsMap | PtsMap |
Public Types inherited from SVF::SVFStat | |
| enum | ClockType { Wall , CPU } |
| typedef OrderedMap< std::string, u32_t > | NUMStatMap |
| typedef OrderedMap< std::string, double > | TIMEStatMap |
Public Member Functions | |
| FlowSensitiveStat (FlowSensitive *pta) | |
| virtual | ~FlowSensitiveStat () |
| 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 | 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 | |
| FlowSensitive * | fspta |
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 Types | |
| enum | ENUM_INOUT { IN_SET , OUT_SET } |
Private Member Functions | |
| void | clearStat () |
| void | statNullPtr () |
| void | statPtsSize () |
| void | statAddrVarPtsSize () |
| void | calculateAddrVarPts (NodeID pointer, const SVFGNode *node) |
| void | statInOutPtsSize (const DFInOutMap &data, ENUM_INOUT inOrOut) |
Additional Inherited Members | |
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 |
|
inlinevirtual |
Points-to size
Definition at line 492 of file FlowSensitiveStat.cpp.
|
private |
Clear statistics
SVFG nodes
SVFIR nodes.
Definition at line 41 of file FlowSensitiveStat.cpp.
|
virtual |
Start statistics
SVFG nodes.
Implements SVF::SVFStat.
Definition at line 84 of file FlowSensitiveStat.cpp.
|
private |
Points-to size
Definition at line 475 of file FlowSensitiveStat.cpp.
|
private |
points-to target number
Definition at line 360 of file FlowSensitiveStat.cpp.
|
private |
TODO: change the condition here to fetch the points-to set
Definition at line 270 of file FlowSensitiveStat.cpp.
|
private |
Points-to size
get points-to set size information for top-level pointers.
Definition at line 321 of file FlowSensitiveStat.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| FlowSensitive* SVF::FlowSensitiveStat::fspta |