Go to the source code of this file.
◆ main()
Definition at line 42 of file cfl.cpp.
43{
44
47 argc,
argv,
"CFL Reachability Analysis",
"[options] <input-bitcode...>"
48 );
49
50
52 {
54 }
55
56
57 SVFIR* svfir =
nullptr;
58
59
61 {
65 }
66
67
68 std::unique_ptr<CFLBase>
cfl;
69
70
72 cfl = std::make_unique<CFLVF>(svfir);
74 cfl = std::make_unique<POCRHybrid>(svfir);
76 cfl = std::make_unique<POCRAlias>(svfir);
77 else
78 cfl = std::make_unique<CFLAlias>(svfir);
79
80
82
83
86
87
88 return 0;
89
90}
static std::vector< std::string > parseOptions(int argc, char *argv[], std::string description, std::string callFormat)
static void releaseLLVMModuleSet()
static void preProcessBCs(std::vector< std::string > &moduleNameVec)
static SVFModule * buildSVFModule(Module &mod)
static const Option< bool > POCRAlias
static const Option< bool > POCRHybrid
static const Option< bool > CFLSVFG
static const Option< std::string > CFLGraph
static const Option< std::string > WriteAnder
static void releaseSVFIR()
llvm::IRBuilder IRBuilder