Static Value-Flow Analysis
Loading...
Searching...
No Matches
Functions | Variables
dda.cpp File Reference
#include "SVF-LLVM/LLVMUtil.h"
#include "SVF-LLVM/SVFIRBuilder.h"
#include "DDA/DDAPass.h"
#include "Util/Options.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Variables

static Option< boolDAA ("daa", "Demand-Driven Alias Analysis Pass", false)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 48 of file dda.cpp.

49{
50 std::vector<std::string> moduleNameVec;
52 argc, argv, "Demand-Driven Points-to Analysis", "[options] <input-bitcode...>"
53 );
54
55 if (Options::WriteAnder() == "ir_annotator")
56 {
58 }
59
61 SVFIRBuilder builder(svfModule);
62 SVFIR* pag = builder.build();
63
65 dda.runOnModule(pag);
66
68 return 0;
69
70}
static std::vector< std::string > parseOptions(int argc, char *argv[], std::string description, std::string callFormat)
Definition CommandLine.h:75
virtual void runOnModule(SVFIR *module)
We start from here.
Definition DDAPass.cpp:55
static void releaseLLVMModuleSet()
Definition LLVMModule.h:129
static void preProcessBCs(std::vector< std::string > &moduleNameVec)
static SVFModule * buildSVFModule(Module &mod)
static const Option< std::string > WriteAnder
Definition Options.h:212
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:74

Variable Documentation

◆ DAA

Option< bool > DAA("daa", "Demand-Driven Alias Analysis Pass", false) ( "daa"  ,
"Demand-Driven Alias Analysis Pass"  ,
false   
)
static