#ifndef INCLUDE__InformationManager_hxx
#define INCLUDE__InformationManager_hxx
+#include <log4cxx/logger.h>
#include <boost/signals2.hpp>
#include <functional>
#include <string>
#include <map>
#include "disassembler/Disassembler.hxx"
+#include <QTemporaryFile>
class Function;
class BasicBlock;
class InformationManager {
public:
+ InformationManager();
~InformationManager();
void reset(const std::string& filename);
- void save(const QString& filename);
+ void load(const std::string& filename);
+ void save(const std::string& filename);
void signal_new_function(Function* f);
void signal_new_dyn_symbol(const std::string& f)
std::unique_ptr<Disassembler> disassembler;
std::map<uint64_t, Function*> functions;
std::map<uint64_t, BasicBlock*> blocks;
+ std::string filename;
+ std::unique_ptr<QTemporaryFile> tmpfile;
+
+ log4cxx::LoggerPtr logger;
};
#endif /* INCLUDE__InformationManager_hxx */