Static Value-Flow Analysis
Loading...
Searching...
No Matches
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< bool > DAA ("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;
51 moduleNameVec = OptionBase::parseOptions(
52 argc, argv, "Demand-Driven Points-to Analysis", "[options] <input-bitcode...>"
53 );
54
55 LLVMModuleSet::buildSVFModule(moduleNameVec);
56 SVFIRBuilder builder;
57 SVFIR* pag = builder.build();
58
59 DDAPass dda;
60 dda.runOnModule(pag);
61
63 return 0;
64
65}
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:144
static void buildSVFModule(Module &mod)
virtual SVFIR * build()
Start building SVFIR here.

Variable Documentation

◆ DAA

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