|
Static Value-Flow Analysis
|
#include <SVFStat.h>
Public Types | |
| enum | ClockType { Wall , CPU } |
| typedef OrderedMap< std::string, u32_t > | NUMStatMap |
| typedef OrderedMap< std::string, double > | TIMEStatMap |
Public Member Functions | |
| SVFStat () | |
| virtual | ~SVFStat () |
| virtual void | startClk () |
| virtual void | endClk () |
| virtual void | performStat ()=0 |
| virtual void | printStat (std::string str="") |
| virtual void | performStatPerQuery (NodeID) |
| virtual void | printStatPerQuery (NodeID, const PointsTo &) |
| virtual void | callgraphStat () |
Static Public Member Functions | |
| static double | getClk (bool mark=false) |
Public Attributes | |
| NUMStatMap | generalNumMap |
| NUMStatMap | PTNumStatMap |
| TIMEStatMap | timeStatMap |
| double | startTime |
| double | endTime |
Static Public Attributes | |
| 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 Member Functions | |
| void | branchStat () |
Private Attributes | |
| std::string | moduleName |
| typedef OrderedMap<std::string, u32_t> SVF::SVFStat::NUMStatMap |
| typedef OrderedMap<std::string, double> SVF::SVFStat::TIMEStatMap |
| SVFStat::SVFStat | ( | ) |
Definition at line 42 of file SVFStat.cpp.
|
private |
Definition at line 222 of file SVFStat.cpp.
|
inlinevirtual |
|
inlinevirtual |
When mark is true, real clock is always returned. When mark is false, it is only returned when Options::MarkedClocksOnly is not set. Default call for getClk is unmarked, while MarkedClocksOnly is false by default.
Definition at line 48 of file SVFStat.cpp.
|
pure virtual |
SVF's general statistics are only printed once even if you run multiple anayses
Implemented in SVF::CFLStat, SVF::ICFGStat, SVF::AndersenStat, SVF::FlowSensitiveStat, SVF::VersionedFlowSensitiveStat, SVF::AEStat, SVF::DDAStat, SVF::MemSSAStat, SVF::SVFGStat, and SVF::PTAStat.
Definition at line 110 of file SVFStat.cpp.
|
virtual |
Reimplemented in SVF::ICFGStat, SVF::DDAStat, SVF::MemSSAStat, and SVF::SVFGStat.
Definition at line 67 of file SVFStat.cpp.
|
inlinevirtual |
| NUMStatMap SVF::SVFStat::generalNumMap |
| NUMStatMap SVF::SVFStat::PTNumStatMap |
| TIMEStatMap SVF::SVFStat::timeStatMap |