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
virtual const PointsTo & getPts(const SVFValue *value)
Retrieve points-to set information.
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 AliasResult alias(const SVFValue *V1, const SVFValue *V2)
Interface expose to users of our pointer analysis, given Value infos.
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