47 argc,
argv,
"Source-Sink Bug Detector",
"[options] <input-bitcode...>"
60 std::unique_ptr<LeakChecker>
saber;
63 saber = std::make_unique<LeakChecker>();
65 saber = std::make_unique<FileChecker>();
67 saber = std::make_unique<DoubleFreeChecker>();
69 saber = std::make_unique<LeakChecker>();
71 saber->runOnModule(pag);
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 > DFreeCheck
double free checker, Default: false
static const Option< bool > FileCheck
file open close checker, Default: false
static const Option< std::string > WriteAnder
static const Option< bool > MemoryLeakCheck
memory leak check, Default: false
llvm::IRBuilder IRBuilder
int main(int argc, char **argv)