PointerAnalysis * _pta
pointer analysis to be executed.
 
WPAPass()
Constructor needs TargetLibraryInfo to be passed to the AliasAnalysis.
 
@ Conservative
return MayAlias if any pta says alias
 
@ Precise
return alias result by the most precise pta
 
@ Veto
return NoAlias if any pta says no alias
 
PTAVector ptaVector
all pointer analysis to be executed.
 
virtual ~WPAPass()
Destructor.
 
virtual ModRefInfo getModRefInfo(const CallICFGNode *callInst)
Interface of mod-ref analysis to determine whether a CallSite instruction can mod or ref any memory l...
 
virtual std::string getPassName() const
PTA name.
 
virtual const PointsTo & getPts(NodeID var)
Retrieve points-to set information.
 
virtual void PrintAliasPairs(PointerAnalysis *pta)
Print all alias pairs.
 
SVFG * _svfg
svfg generated through -ander pointer analysis
 
void runPointerAnalysis(SVFIR *pag, u32_t kind)
Create pointer analysis according to specified kind and analyze the module.
 
std::vector< PointerAnalysis * > PTAVector
 
virtual void runOnModule(SVFIR *svfModule)
Run pointer analysis on SVFModule.
 
llvm::IRBuilder IRBuilder