X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fmain.cxx;h=8c0916cd0d9de3b7bd12531cccf96620fd923e34;hp=290657d52004b6f9529575658cca7b6ee356f03a;hb=5514e0b76ec9af2fa67abebe77cfe26052f2326f;hpb=231dae075375e7d57982f5107b86294fbe726b33 diff --git a/src/main.cxx b/src/main.cxx index 290657d..8c0916c 100644 --- a/src/main.cxx +++ b/src/main.cxx @@ -1,6 +1,5 @@ #include "disassembler/llvm/include_llvm.hxx" -#include #include #include @@ -20,22 +19,19 @@ #include "core/InformationManager.hxx" #include "disassembler/llvm/LLVMDisassembler.hxx" -using std::cout; -using std::cin; -using std::cerr; - int main(int argc, char** argv) { QApplication app(argc, argv); - log4cxx::BasicConfigurator::configure(); - log4cxx::LoggerPtr _logger(log4cxx::Logger::getLogger("main")); + log4cxx::BasicConfigurator::configure(); + log4cxx::LoggerPtr _logger(log4cxx::Logger::getLogger("main")); #ifdef ARGPARSE QCommandLineParser parser; #endif QApplication::setApplicationName("frida"); + QApplication::setApplicationVersion("0.0"); #ifdef ARGPARSE parser.addHelpOption(); parser.addVersionOption(); @@ -46,13 +42,13 @@ int main(int argc, char** argv) InformationManager iman; - LOG4CXX_DEBUG(_logger, "Initializing LLVM"); - llvm::InitializeAllTargetInfos(); - llvm::InitializeAllTargetMCs(); - llvm::InitializeAllAsmParsers(); - llvm::InitializeAllDisassemblers(); + LOG4CXX_DEBUG(_logger, "Initializing LLVM"); + llvm::InitializeAllTargetInfos(); + llvm::InitializeAllTargetMCs(); + llvm::InitializeAllAsmParsers(); + llvm::InitializeAllDisassemblers(); - LOG4CXX_DEBUG(_logger, "Initializing Qt"); + LOG4CXX_DEBUG(_logger, "Initializing Qt"); std::string filename = ""; #ifdef ARGPARSE