X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FInformationManager.hxx;h=2e9358c9afdd05301d901241828b797e0877acc8;hp=03cb3b866ec139b875ffad8a7556820b3733c2e1;hb=efaafdaf4a18b5f2f4dd743aa3f0e609d428b15a;hpb=0daf9a157f3d41690cf4a0287db1adecc4ad0b71 diff --git a/src/core/InformationManager.hxx b/src/core/InformationManager.hxx index 03cb3b8..2e9358c 100644 --- a/src/core/InformationManager.hxx +++ b/src/core/InformationManager.hxx @@ -1,12 +1,14 @@ #ifndef INCLUDE__InformationManager_hxx #define INCLUDE__InformationManager_hxx +#include #include #include #include #include -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; std::map functions; std::map blocks; + std::string filename; + + log4cxx::LoggerPtr logger; }; #endif /* INCLUDE__InformationManager_hxx */