]> git.siccegge.de Git - frida/frida.git/blobdiff - src/core/InformationManager.hxx
Add binary to saved archive
[frida/frida.git] / src / core / InformationManager.hxx
index 03cb3b866ec139b875ffad8a7556820b3733c2e1..2e9358c9afdd05301d901241828b797e0877acc8 100644 (file)
@@ -1,12 +1,14 @@
 #ifndef INCLUDE__InformationManager_hxx
 #define INCLUDE__InformationManager_hxx
 
+#include <log4cxx/logger.h>
 #include <boost/signals2.hpp>
 #include <functional>
 #include <string>
 #include <map>
 
-class Disassembler;
+#include "disassembler/Disassembler.hxx"
+
 class Function;
 class BasicBlock;
 class Comment;
@@ -50,6 +52,7 @@ public:
 
        Function* getFunction(uint64_t address);
        BasicBlock* getBasicBlock(uint64_t address);
+       bool hasFunctions() const {return functions.size() != 0;}
 
        /* Protocoll:
         *
@@ -88,6 +91,9 @@ private:
        std::unique_ptr<Disassembler> disassembler;
        std::map<uint64_t, Function*> functions;
        std::map<uint64_t, BasicBlock*> blocks;
+       std::string filename;
+
+       log4cxx::LoggerPtr logger;
 };
 
 #endif /* INCLUDE__InformationManager_hxx */