Static Value-Flow Analysis
Loading...
Searching...
No Matches
Functions
mta.cpp File Reference
#include "SVF-LLVM/LLVMUtil.h"
#include "SVF-LLVM/SVFIRBuilder.h"
#include "MTA/MTA.h"
#include "Util/CommandLine.h"
#include "Util/Options.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 33 of file mta.cpp.

34{
35
36 std::vector<std::string> moduleNameVec;
38 argc, argv, "MTA Analysis", "[options] <input-bitcode...>"
39 );
40
41 if (Options::WriteAnder() == "ir_annotator")
42 {
44 }
45
47 SVFIRBuilder builder(svfModule);
48 SVFIR* pag = builder.build();
49
50
51 MTA mta;
52 mta.runOnModule(pag);
53
55
56
57 return 0;
58}
static std::vector< std::string > parseOptions(int argc, char *argv[], std::string description, std::string callFormat)
Definition CommandLine.h:75
static void releaseLLVMModuleSet()
Definition LLVMModule.h:129
static void preProcessBCs(std::vector< std::string > &moduleNameVec)
static SVFModule * buildSVFModule(Module &mod)
Definition MTA.h:57
virtual bool runOnModule(SVFIR *module)
We start the pass here.
Definition MTA.cpp:61
static const Option< std::string > WriteAnder
Definition Options.h:212
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:74