Skip to content

Commit

Permalink
sync with latest SVF
Browse files Browse the repository at this point in the history
  • Loading branch information
jumormt committed Feb 14, 2024
1 parent 5589865 commit 9d57cdb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CodeGraph/CodeGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,15 @@ using namespace SVF;
using namespace llvm;
using namespace std;

static llvm::cl::opt<std::string> InputFilename(cl::Positional,
llvm::cl::desc("<input bitcode>"), llvm::cl::init("-"));

int main(int argc, char ** argv) {

int arg_num = 0;
char **arg_value = new char*[argc];
std::vector<std::string> moduleNameVec;
LLVMUtil::processArguments(argc, argv, arg_num, arg_value, moduleNameVec);
cl::ParseCommandLineOptions(arg_num, arg_value,
"Whole Program Points-to Analysis\n");
moduleNameVec = OptionBase::parseOptions(
arg_num, arg_value, "Teaching-Software-Analysis Assignment 4", "[options] <input-bitcode...>"
);

SVFModule* svfModule = LLVMModuleSet::getLLVMModuleSet()->buildSVFModule(moduleNameVec);

Expand Down

0 comments on commit 9d57cdb

Please sign in to comment.