#include <climits>
#include <QApplication>
+#include <QCommandLineParser>
#include <QTextEdit>
#include "log4cxx/logger.h"
{
log4cxx::BasicConfigurator::configure();
log4cxx::LoggerPtr _logger(log4cxx::Logger::getLogger("main"));
+
LOG4CXX_DEBUG(_logger, "Initializing LLVM");
llvm::InitializeAllTargetInfos();
llvm::InitializeAllTargetMCs();
LOG4CXX_DEBUG(_logger, "Initializing Qt");
QApplication app(argc, argv);
+ QCommandLineParser parser;
+
+ QApplication::setApplicationName("frida");
+ parser.addHelpOption();
+ parser.process(app);
Mainwindow m;
m.show();